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

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: Fixed unit test 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
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f0f8e24f5ec2d5ca406997f80cd0671797ebf099..805af4a43f56de870968e4e99d307e4352a99171 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -46,7 +46,6 @@ struct FrameHostMsg_ReclaimCompositorResources_Params;
struct FrameHostMsg_ShowPopup_Params;
#endif
struct ViewHostMsg_TextInputState_Params;
-struct ViewHostMsg_UpdateRect_Params;
namespace blink {
class WebInputEvent;
@@ -64,9 +63,9 @@ namespace content {
class BrowserPluginGuestManager;
class RenderViewHostImpl;
+class RenderWidgetHost;
class RenderWidgetHostView;
class SiteInstance;
-class WebCursor;
struct DropData;
// A browser plugin guest provides functionality for WebContents to operate in
@@ -102,6 +101,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);
@@ -304,13 +306,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
#endif
// Message handlers for messages from guest.
-
- void OnDragStopped();
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.
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698