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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view.h

Issue 6024008: Consider the popup window position when the window shows upward. This patch depends on WebKit patch. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years 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: chrome/browser/renderer_host/render_widget_host_view.h
diff --git a/chrome/browser/renderer_host/render_widget_host_view.h b/chrome/browser/renderer_host/render_widget_host_view.h
index 81de5060842a36195d24403051900cf1b35f22c2..c057b91027def3534461f44573ef2176030f5ea1 100644
--- a/chrome/browser/renderer_host/render_widget_host_view.h
+++ b/chrome/browser/renderer_host/render_widget_host_view.h
@@ -89,6 +89,9 @@ class RenderWidgetHostView {
// Tells the View to size itself to the specified size.
virtual void SetSize(const gfx::Size& size) = 0;
+ // Tells the View to move itself to the specified point.
+ virtual void SetMove(const gfx::Point& origin) = 0;
Ilya Sherman 2010/12/22 01:16:35 nit: MoveTo() might be a better name for this meth
Ilya Sherman 2010/12/22 01:16:35 If you add this method to RenderWidgetHostView, yo
honten.org 2010/12/22 01:29:41 Yes, you are right. So once this solution is Ok o
+
// Retrieves the native view used to contain plugins and identify the
// renderer in IPC messages.
virtual gfx::NativeView GetNativeView() = 0;

Powered by Google App Engine
This is Rietveld 408576698