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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.h

Issue 10454013: GTK Render Widget Host View resets cached center location on mouse lock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_gtk.h
diff --git a/content/browser/renderer_host/render_widget_host_view_gtk.h b/content/browser/renderer_host/render_widget_host_view_gtk.h
index c3d2cc22611b6be349879515c977be39282b52ef..d500a4a279c5db6899a97bed8834d621c9caade0 100644
--- a/content/browser/renderer_host/render_widget_host_view_gtk.h
+++ b/content/browser/renderer_host/render_widget_host_view_gtk.h
@@ -200,6 +200,9 @@ class CONTENT_EXPORT RenderWidgetHostViewGtk
void set_last_mouse_down(GdkEventButton* event);
+ // Cause the next query for the widget center to recompute the cached value.
+ void MarkCachedWidgetCenterStale();
+
gfx::Point GetWidgetCenter();
// The model object.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698