diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 23:44:46 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 23:44:46 +0000 |
commit | 674741939c4b887877859bced1f21e17d64c4b85 (patch) | |
tree | 5e61392d083de8b16461c9ecd037a380b64d496d /chrome/renderer/render_widget.h | |
parent | 484f6c368b86f901bfc8998d5a21d2165cc83c8a (diff) | |
download | chromium_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/renderer/render_widget.h')
-rw-r--r-- | chrome/renderer/render_widget.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index df193bd..8e37b83 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -12,8 +12,8 @@ #include "base/gfx/rect.h" #include "base/gfx/size.h" #include "base/ref_counted.h" +#include "base/shared_memory.h" #include "chrome/common/ipc_channel.h" -#include "chrome/common/render_messages.h" #include "skia/ext/platform_canvas.h" #include "webkit/glue/webwidget_delegate.h" @@ -144,25 +144,11 @@ class RenderWidget : public IPC::Channel::Listener, return current_scroll_buf_ != NULL; } - bool next_paint_is_resize_ack() const { - return ViewHostMsg_PaintRect_Flags::is_resize_ack(next_paint_flags_); - } - - bool next_paint_is_restore_ack() const { - return ViewHostMsg_PaintRect_Flags::is_restore_ack(next_paint_flags_); - } - - void set_next_paint_is_resize_ack() { - next_paint_flags_ |= ViewHostMsg_PaintRect_Flags::IS_RESIZE_ACK; - } - - void set_next_paint_is_restore_ack() { - next_paint_flags_ |= ViewHostMsg_PaintRect_Flags::IS_RESTORE_ACK; - } - - void set_next_paint_is_repaint_ack() { - next_paint_flags_ |= ViewHostMsg_PaintRect_Flags::IS_REPAINT_ACK; - } + bool next_paint_is_resize_ack() const; + bool next_paint_is_restore_ack() const; + void set_next_paint_is_resize_ack(); + void set_next_paint_is_restore_ack(); + void set_next_paint_is_repaint_ack(); // Called when a renderer process moves an input focus or updates the // position of its caret. |