summaryrefslogtreecommitdiffstats
path: root/content/public/browser
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 21:23:57 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 21:23:57 +0000
commit94f5193f68e70ac63928a6dd661ea2dad124e13a (patch)
tree3a13b1a222cc8b622a4e7eaa600bce54a56b20bf /content/public/browser
parent5f149af7ada7e24dc8d2f95158ce4bdaf8eabf4c (diff)
downloadchromium_src-94f5193f68e70ac63928a6dd661ea2dad124e13a.zip
chromium_src-94f5193f68e70ac63928a6dd661ea2dad124e13a.tar.gz
chromium_src-94f5193f68e70ac63928a6dd661ea2dad124e13a.tar.bz2
content: Switch out from struct PaintAtSizeAckDetails to a std::pair instead.
NOTE: This was TODO for joi@. BUG=98716 R=joi@chromium.org TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/9667039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser')
-rw-r--r--content/public/browser/notification_types.h2
-rw-r--r--content/public/browser/render_widget_host.h10
2 files changed, 1 insertions, 11 deletions
diff --git a/content/public/browser/notification_types.h b/content/public/browser/notification_types.h
index 111b47f..797d7bd 100644
--- a/content/public/browser/notification_types.h
+++ b/content/public/browser/notification_types.h
@@ -301,7 +301,7 @@ enum NotificationType {
// This notifies the observer that a PaintAtSizeACK was received. The source
// is the RenderWidgetHost, the details are an instance of
- // RenderWidgetHost::PaintAtSizeAckDetails.
+ // std::pair<int, gfx::Size>.
NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK,
// This notifies the observer that a HandleInputEventACK was received. The
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 72846b7..e95d325 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -218,16 +218,6 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Sender {
// Returns true if this is a RenderViewHost, false if not.
virtual bool IsRenderView() const = 0;
- // Used as the details object for a
- // RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK notification.
- // TODO(joi): Switch out for a std::pair.
- struct PaintAtSizeAckDetails {
- // The tag that was passed to the PaintAtSize() call that triggered this
- // ack.
- int tag;
- gfx::Size size;
- };
-
// This tells the renderer to paint into a bitmap and return it,
// regardless of whether the tab is hidden or not. It resizes the
// web widget to match the |page_size| and then returns the bitmap