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

Issue 549151: re-try r37025 with fix for incognito mode... (Closed)

Created:
10 years, 11 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
Finnur
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

re-try r37025 with fix for incognito mode ---------------------------------------- Views: use ExtensionToolbarModel for ordering of browser action buttons. This doesn't implement drag and drop reording, but the order is stored on shutdown and restored on startup. BUG=26990 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37061

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -123 lines) Patch
M chrome/browser/views/browser_actions_container.h View 4 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 6 chunks +102 lines, -115 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Evan Stade
added model_ check in ViewHierarchyChanged
10 years, 11 months ago (2010-01-25 20:44:45 UTC) #1
Finnur
http://codereview.chromium.org/549151/diff/1/3 File chrome/browser/views/browser_actions_container.cc (right): http://codereview.chromium.org/549151/diff/1/3#newcode525 chrome/browser/views/browser_actions_container.cc:525: if (is_add && child == this && model_) { ...
10 years, 11 months ago (2010-01-25 20:52:44 UTC) #2
Evan Stade
http://codereview.chromium.org/549151/diff/1/3 File chrome/browser/views/browser_actions_container.cc (right): http://codereview.chromium.org/549151/diff/1/3#newcode525 chrome/browser/views/browser_actions_container.cc:525: if (is_add && child == this && model_) { ...
10 years, 11 months ago (2010-01-25 20:55:50 UTC) #3
Finnur
10 years, 11 months ago (2010-01-25 20:57:59 UTC) #4
LGTM - one nit.

http://codereview.chromium.org/549151/diff/1/3
File chrome/browser/views/browser_actions_container.cc (right):

http://codereview.chromium.org/549151/diff/1/3#newcode526
chrome/browser/views/browser_actions_container.cc:526: // Initial toolbar button
creation + packing.
How about then:

// Initial toolbar button creation and placement in the parent container.

On 2010/01/25 20:55:50, Evan Stade wrote:
> On 2010/01/25 20:52:44, Finnur wrote:
> > What does packing mean in this context?
> 
> placement in the parent container

Powered by Google App Engine
This is Rietveld 408576698