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

Issue 726813002: [Extensions Toolbar] Make the ExtensionToolbarModel icon count more stable (Closed)

Created:
6 years, 1 month ago by Devlin
Modified:
6 years, 1 month ago
Reviewers:
Finnur, Peter Kasting
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Extensions Toolbar] Make the ExtensionToolbarModel icon count more stable Make two changes to the ExtensionToolbarModel: - Only create views for actions once the extension system is fully loaded; - Make sure we guard the visible_icon_count() to the possible range. BUG=432148 Committed: https://crrev.com/3ceefb6e7910127d12104c1ecbc6bddf49f0caea Cr-Commit-Position: refs/heads/master@{#304295}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Peter's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -78 lines) Patch
M chrome/browser/extensions/extension_toolbar_model.h View 5 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.cc View 15 chunks +34 lines, -48 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model_unittest.cc View 10 chunks +50 lines, -14 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 1 2 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 1 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Devlin
6 years, 1 month ago (2014-11-14 02:18:29 UTC) #6
Finnur
LGTM
6 years, 1 month ago (2014-11-14 19:01:10 UTC) #7
Devlin
+Peter for ui/
6 years, 1 month ago (2014-11-14 21:24:43 UTC) #9
Peter Kasting
https://codereview.chromium.org/726813002/diff/80001/chrome/browser/ui/toolbar/toolbar_actions_bar.cc File chrome/browser/ui/toolbar/toolbar_actions_bar.cc (right): https://codereview.chromium.org/726813002/diff/80001/chrome/browser/ui/toolbar/toolbar_actions_bar.cc#newcode208 chrome/browser/ui/toolbar/toolbar_actions_bar.cc:208: if (!model_ || !model_->extensions_initialized() || !delegate_->IsReady()) Hmm. Is there ...
6 years, 1 month ago (2014-11-14 21:31:58 UTC) #10
Devlin
https://codereview.chromium.org/726813002/diff/80001/chrome/browser/ui/toolbar/toolbar_actions_bar.cc File chrome/browser/ui/toolbar/toolbar_actions_bar.cc (right): https://codereview.chromium.org/726813002/diff/80001/chrome/browser/ui/toolbar/toolbar_actions_bar.cc#newcode208 chrome/browser/ui/toolbar/toolbar_actions_bar.cc:208: if (!model_ || !model_->extensions_initialized() || !delegate_->IsReady()) On 2014/11/14 21:31:58, ...
6 years, 1 month ago (2014-11-14 22:00:38 UTC) #11
Peter Kasting
Yay! LGTM
6 years, 1 month ago (2014-11-14 22:03:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/726813002/100001
6 years, 1 month ago (2014-11-14 22:46:40 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:100001)
6 years, 1 month ago (2014-11-14 23:38:47 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 23:39:23 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3ceefb6e7910127d12104c1ecbc6bddf49f0caea
Cr-Commit-Position: refs/heads/master@{#304295}

Powered by Google App Engine
This is Rietveld 408576698