summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 23:44:46 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 23:44:46 +0000
commit674741939c4b887877859bced1f21e17d64c4b85 (patch)
tree5e61392d083de8b16461c9ecd037a380b64d496d /chrome/browser/renderer_host/render_widget_host.h
parent484f6c368b86f901bfc8998d5a21d2165cc83c8a (diff)
downloadchromium_src-674741939c4b887877859bced1f21e17d64c4b85.zip
chromium_src-674741939c4b887877859bced1f21e17d64c4b85.tar.gz
chromium_src-674741939c4b887877859bced1f21e17d64c4b85.tar.bz2
Commiting the changes from my previous cl that are specific to not including render_messages.h/plugin_message.h unless necessary.
TBR=mpcomplete Review URL: http://codereview.chromium.org/20059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9189 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index 08f20f0..06b9fb0 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -11,7 +11,6 @@
#include "base/timer.h"
#include "chrome/common/bitmap_wire_data.h"
#include "chrome/common/ipc_channel.h"
-#include "chrome/common/render_messages.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
namespace gfx {
@@ -255,8 +254,9 @@ class RenderWidgetHost : public IPC::Channel::Listener {
void OnMsgFocus();
void OnMsgBlur();
void OnMsgSetCursor(const WebCursor& cursor);
- void OnMsgImeUpdateStatus(ViewHostMsg_ImeControl control,
- const gfx::Rect& caret_rect);
+ // 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);
// Paints the given bitmap to the current backing store at the given location.
void PaintBackingStoreRect(BitmapWireData bitmap,