expose WebFrame#routingId (#12614)

* expose WebFrame#routingId and pass it to WebContents frame specific events along with frameProcessId; add WebContets.did-start-navigation event
* fix compilation error on ia32 Windows
This commit is contained in:
bughit 2018-04-26 06:17:55 -04:00 committed by Cheng Zhao
parent 152422af81
commit 4fcd178c36
6 changed files with 116 additions and 11 deletions

View file

@ -102,6 +102,8 @@ class WebFrame : public mate::Wrappable<WebFrame> {
v8::Local<v8::Value> NextSibling() const;
v8::Local<v8::Value> GetFrameForSelector(const std::string& selector) const;
v8::Local<v8::Value> FindFrameByName(const std::string& name) const;
v8::Local<v8::Value> FindFrameByRoutingId(int routing_id) const;
v8::Local<v8::Value> RoutingId() const;
std::unique_ptr<SpellCheckClient> spell_check_client_;