Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1249)

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 549323002: BrowserPlugin: Interstitial Pages work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 53313d305e2e8b23fb5060edcd71a63148a1cd6a..d7697f6636b8d48ff6c6393e95c239041b9dbc9d 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -67,7 +67,6 @@ class BrowserPluginGuestManager;
class RenderViewHostImpl;
class RenderWidgetHostView;
class SiteInstance;
-class WebCursor;
struct DropData;
// A browser plugin guest provides functionality for WebContents to operate in
@@ -103,6 +102,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
// Returns a WeakPtr to this BrowserPluginGuest.
base::WeakPtr<BrowserPluginGuest> AsWeakPtr();
+ // Sets the focus state of the current RenderWidgetHostView.
+ void SetFocus(RenderWidgetHost* rwh, bool focused);
+
// Sets the lock state of the pointer. Returns true if |allowed| is true and
// the mouse has been successfully locked.
bool LockMouse(bool allowed);
@@ -305,13 +307,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
#endif
// Message handlers for messages from guest.
-
- void OnDragStopped();
lazyboy 2014/09/09 07:04:45 Nice catch.
Fady Samuel 2014/09/09 17:14:48 Acknowledged.
void OnHandleInputEventAck(
blink::WebInputEvent::Type event_type,
InputEventAckState ack_result);
void OnHasTouchEventHandlers(bool accept);
- void OnSetCursor(const WebCursor& cursor);
#if defined(OS_MACOSX)
// On MacOS X popups are painted by the browser process. We handle them here
// so that they are positioned correctly.

Powered by Google App Engine
This is Rietveld 408576698