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

Issue 208020: Change the view mode when switching between moles and toolstrips, and (Closed)

Created:
11 years, 3 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman, Finnur
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Change the view mode when switching between moles and toolstrips, and propogate this into the class of the document element so that it's possible to use CSS rules to control the display of your toolstrip/mole. BUG=21939, 15494 TEST=run the Mappy extension and verify it can open and close Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26635

Patch Set 1 #

Patch Set 2 : remove commented out code #

Total comments: 9

Patch Set 3 : changes from review #

Patch Set 4 : build system workarounds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -169 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 5 chunks +22 lines, -37 lines 0 comments Download
M chrome/browser/extensions/extension_shelf_model.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/extensions_toolstrip.css View 1 chunk +3 lines, -90 lines 0 comments Download
M chrome/browser/views/extensions/extension_shelf.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/extensions/extension_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/views/extensions/extension_view.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/view_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_process_bindings.h View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/renderer/extensions/extension_process_bindings.cc View 1 2 5 chunks +45 lines, -1 line 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_resources.grd View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 5 chunks +24 lines, -14 lines 0 comments Download
A chrome/renderer/resources/extension_toolstrip.css View 1 chunk +93 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/samples/mappy/mappy_toolstrip.html View 1 2 2 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Erik does not do reviews
finnur: css injection changes in extension_host, render_view and extension_shelf aa: everything
11 years, 3 months ago (2009-09-18 00:11:40 UTC) #1
Aaron Boodman
http://codereview.chromium.org/208020/diff/1001/2002 File chrome/browser/extensions/extension_host.cc (right): http://codereview.chromium.org/208020/diff/1001/2002#newcode210 Line 210: render_view_host()->InsertCSSInWebFrame(L"", css, "ToolstripThemeCss"); Nit: can we change this ...
11 years, 3 months ago (2009-09-18 00:44:37 UTC) #2
Finnur
Had some comments, but looks like aa beat me to it. :) LGTM for the ...
11 years, 3 months ago (2009-09-18 01:09:36 UTC) #3
Erik does not do reviews
> lots of other good comments Fixed. http://codereview.chromium.org/208020/diff/1001/2012 File chrome/renderer/extensions/extension_process_bindings.cc (right): http://codereview.chromium.org/208020/diff/1001/2012#newcode164 Line 164: (*it)->view_type() ...
11 years, 3 months ago (2009-09-18 01:29:21 UTC) #4
Aaron Boodman
11 years, 3 months ago (2009-09-18 18:24:53 UTC) #5
Nice.

LGTM

Powered by Google App Engine
This is Rietveld 408576698