Wire up a new method in web frame
This commit is contained in:
parent
61e775c055
commit
22a3765394
2 changed files with 15 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "base/memory/scoped_ptr.h"
|
||||
#include "native_mate/handle.h"
|
||||
#include "native_mate/wrappable.h"
|
||||
#include "third_party/WebKit/public/web/WebCache.h"
|
||||
|
||||
namespace blink {
|
||||
class WebLocalFrame;
|
||||
|
@ -69,6 +70,9 @@ class WebFrame : public mate::Wrappable<WebFrame> {
|
|||
// Excecuting scripts.
|
||||
void ExecuteJavaScript(const base::string16& code, mate::Arguments* args);
|
||||
|
||||
// Resource related methods
|
||||
v8::Local<v8::Value> GetResourceUsage(v8::Isolate* isolate);
|
||||
|
||||
scoped_ptr<SpellCheckClient> spell_check_client_;
|
||||
|
||||
blink::WebLocalFrame* web_frame_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue