Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Issue 56122: Callbacks through ChromeClient->RenderView->RenderViewHost for ContentsDidCha... (Closed)

Created:
11 years, 8 months ago by rafaelw
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Callbacks through ChromeClient->RenderView->RenderViewHost for ContentsDidChangeSize so that extensions can change their toolbar size when the contained contents changes size. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13130

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 34

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 1

Patch Set 10 : '' #

Total comments: 1

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -3 lines) Patch
M chrome/browser/extensions/extension_view.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_view.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +32 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.h View 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -0 lines 0 comments Download
M webkit/glue/chrome_client_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/chrome_client_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/glue/webframe.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webframe_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webframe_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M webkit/glue/webview_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rafaelw
Hey guys, please review.
11 years, 8 months ago (2009-04-01 03:52:55 UTC) #1
Aaron Boodman
http://codereview.chromium.org/56122/diff/1045/46 File chrome/browser/extensions/extension_view.cc (right): http://codereview.chromium.org/56122/diff/1045/46#newcode22 Line 22: set_preferred_size(gfx::Size(0, 100)); Add a comment here explaining why ...
11 years, 8 months ago (2009-04-01 18:28:35 UTC) #2
Matt Perry
http://codereview.chromium.org/56122/diff/1045/46 File chrome/browser/extensions/extension_view.cc (right): http://codereview.chromium.org/56122/diff/1045/46#newcode23 Line 23: this->SetVisible(false); nit: don't use "this->" to call methods. ...
11 years, 8 months ago (2009-04-01 18:30:09 UTC) #3
rafaelw
Made the suggested changes. Added function implementation in scaffolding files so that linux & mac ...
11 years, 8 months ago (2009-04-02 21:33:17 UTC) #4
Aaron Boodman
lgtm, but wait for matt.
11 years, 8 months ago (2009-04-02 21:37:55 UTC) #5
Matt Perry
looks good! 1 last comment http://codereview.chromium.org/56122/diff/82/96 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/56122/diff/82/96#newcode1928 Line 1928: // TODO(rafaelw): Because ...
11 years, 8 months ago (2009-04-02 21:41:21 UTC) #6
rafaelw
Ok. Check it out.
11 years, 8 months ago (2009-04-04 01:08:46 UTC) #7
Matt Perry
11 years, 8 months ago (2009-04-04 01:21:16 UTC) #8
LGTM

http://codereview.chromium.org/56122/diff/2056/5008
File chrome/browser/extensions/extension_view.cc (right):

http://codereview.chromium.org/56122/diff/2056/5008#newcode35
Line 35: void ExtensionView::DidContentsPreferredWidthChange(const int
pre_width) {
nit: I like pref_width better :)

Powered by Google App Engine
This is Rietveld 408576698