Move the converters for blink structures to another file

It makes the api::WebContents smaller.
This commit is contained in:
Cheng Zhao 2015-09-18 11:06:38 +08:00
parent 96d35ec29e
commit 7dc7ee1c41
5 changed files with 120 additions and 71 deletions

View file

@ -15,6 +15,10 @@
#include "native_mate/handle.h"
#include "ui/gfx/image/image.h"
namespace blink {
struct WebDeviceEmulationParams;
}
namespace brightray {
class InspectableWebContents;
}
@ -74,7 +78,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
void CloseDevTools();
bool IsDevToolsOpened();
void ToggleDevTools();
void EnableDeviceEmulation(const base::DictionaryValue&);
void EnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
void DisableDeviceEmulation();
void InspectElement(int x, int y);
void InspectServiceWorker();