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

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

Issue 300323005: Route selection bounds updates through the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 7 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 f1c6fe019b04a4045cd7fa771edaf78e3d090701..7f158cc4ff3a479745f572ff9dca4c2dfb49be23 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -186,7 +186,8 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
// Returns whether BrowserPluginGuest is interested in receiving the given
// |message|.
static bool ShouldForwardToBrowserPluginGuest(const IPC::Message& message);
- gfx::Rect ToGuestRect(const gfx::Rect& rect);
+ gfx::Rect ToGuestRect(const gfx::Rect& rect) const;
+ gfx::RectF ToGuestRect(const gfx::RectF& rect) const;
void DragSourceEndedAt(int client_x, int client_y, int screen_x,
int screen_y, blink::WebDragOperation operation);

Powered by Google App Engine
This is Rietveld 408576698