Index: chrome/browser/renderer_host/render_widget_host.h |
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h |
index cf3f9d5a7c83aaa5176e09f084110a452cbe84b4..d2d28268f4279952b7be97429ca8d41012218110 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. |