summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 22:07:09 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 22:07:09 +0000
commit6ecc60e234224d61cb6a5157ebbc65448e66b716 (patch)
tree2cac2b706a1ea69febdc4060d5f25f54eee4a0ae /chrome/common
parent4f425554e926abb988a4949f8e93e1b0ddd1bc5f (diff)
downloadchromium_src-6ecc60e234224d61cb6a5157ebbc65448e66b716.zip
chromium_src-6ecc60e234224d61cb6a5157ebbc65448e66b716.tar.gz
chromium_src-6ecc60e234224d61cb6a5157ebbc65448e66b716.tar.bz2
Reverting 9493.
Review URL: http://codereview.chromium.org/21231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h8
-rw-r--r--chrome/common/slide_animation.h2
-rw-r--r--chrome/common/temp_scaffolding_stubs.h4
3 files changed, 4 insertions, 10 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index d51af0e..e6b401e 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -70,11 +70,9 @@ IPC_BEGIN_MESSAGES(View)
// Tells the render view to change its size. A ViewHostMsg_PaintRect message
// is generated in response provided new_size is not empty and not equal to
// the view's current size. The generated ViewHostMsg_PaintRect message will
- // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that
- // we don't have to fetch it every time WebKit asks for it.
- IPC_MESSAGE_ROUTED2(ViewMsg_Resize,
- gfx::Size /* new_size */,
- gfx::Rect /* resizer_rect */)
+ // have the IS_RESIZE_ACK flag set.
+ IPC_MESSAGE_ROUTED1(ViewMsg_Resize,
+ gfx::Size /* new_size */)
// Sent to inform the view that it was hidden. This allows it to reduce its
// resource utilization.
diff --git a/chrome/common/slide_animation.h b/chrome/common/slide_animation.h
index d998e6c..f690e48 100644
--- a/chrome/common/slide_animation.h
+++ b/chrome/common/slide_animation.h
@@ -73,7 +73,7 @@ class SlideAnimation : public Animation {
void SetTweenType(TweenType tween_type) { tween_type_ = tween_type; }
double GetCurrentValue() const { return value_current_; }
- bool IsShowing() const { return showing_; }
+ bool IsShowing() { return showing_; }
private:
// Overridden from Animation.
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index b94c34c..eabcc34 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -582,10 +582,6 @@ class TabContentsDelegate {
NOTIMPLEMENTED();
return true;
}
- virtual gfx::Rect GetRootWindowResizerRect() const {
- return gfx::Rect();
- }
-
virtual bool IsExternalTabContainer() {
NOTIMPLEMENTED();
return false;