Introduced the cursor-changed event with one parameter - the name of the cursor type
This commit is contained in:
parent
e22cb0ca9f
commit
0c9174bc7c
5 changed files with 194 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
#include "atom/browser/common_web_contents_delegate.h"
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
#include "content/public/common/favicon_url.h"
|
||||
#include "content/common/cursors/webcursor.h"
|
||||
#include "native_mate/handle.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
||||
|
@ -255,6 +256,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
return ++request_id_;
|
||||
}
|
||||
|
||||
void OnCursorChange(const content::WebCursor& cursor);
|
||||
|
||||
// Called when received a message from renderer.
|
||||
void OnRendererMessage(const base::string16& channel,
|
||||
const base::ListValue& args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue