Move the converters for blink structures to another file
It makes the api::WebContents smaller.
This commit is contained in:
parent
96d35ec29e
commit
7dc7ee1c41
5 changed files with 120 additions and 71 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue