summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.h
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 14:37:26 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 14:37:26 +0000
commit62464e049919ba2868c1b4bbca685865167bc52a (patch)
tree3a5b06c6a5a953f9cd314d1b11b35d336bba4e15 /chrome/browser/renderer_host/render_widget_host.h
parent6c3cb5d0cd05941282d47a40ea902453924821a5 (diff)
downloadchromium_src-62464e049919ba2868c1b4bbca685865167bc52a.zip
chromium_src-62464e049919ba2868c1b4bbca685865167bc52a.tar.gz
chromium_src-62464e049919ba2868c1b4bbca685865167bc52a.tar.bz2
Wire GetWindowRect, GetRootWindowRect, and GetScreenInfo out to the UI thread.
Convert GetScreenInfo to be sync and routed. http://crbug.com/13113 R=darin@chromium.org, jam@chromium.org, amanda@chromium.org TEST=See bug. Review URL: http://codereview.chromium.org/151130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index cf3f9d5..d2d2826 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -26,6 +26,7 @@ namespace WebKit {
class WebInputEvent;
class WebMouseEvent;
class WebMouseWheelEvent;
+struct WebScreenInfo;
}
class BackingStore;
@@ -391,10 +392,15 @@ class RenderWidgetHost : public IPC::Channel::Listener {
// Using int instead of ViewHostMsg_ImeControl for control's type to avoid
// having to bring in render_messages.h in a header file.
void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect);
- void OnMsgShowPopup(const IPC::Message& message);
#if defined(OS_LINUX)
void OnMsgCreatePluginContainer(gfx::PluginWindowHandle *container);
void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle container);
+#elif defined(OS_MACOSX)
+ void OnMsgShowPopup(const IPC::Message& message);
+ void OnMsgGetScreenInfo(gfx::NativeViewId view,
+ WebKit::WebScreenInfo* results);
+ void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
+ void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
#endif
// Paints the given bitmap to the current backing store at the given location.