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

Issue 1652153003: Move toolbar_model_{impl,delegate}.{cc,h} to components/toolbar. (Closed)

Created:
4 years, 10 months ago by sdefresne
Modified:
4 years, 10 months ago
Reviewers:
Peter Kasting, sky, mmenke, piman
CC:
achuith+watch_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, davemoore+watch_chromium.org, droger+watchlist_chromium.org, dzhioev+watch_chromium.org, oshima+watch_chromium.org, sdefresne+watchlist_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move toolbar_model_{impl,delegate}.{cc,h} to components/toolbar. Now that the file have no bad dependencies they can be moved into the component. Fixes the #include for pref_service and grit generated files, update the component DEPS. Remove obsolete forward-declaration and add missing ones. TBR=sky@chromium.org,mmenke@chromium.org,piman@chromium.org BUG=582921 Committed: https://crrev.com/3adc092bb1a55a8142de90dda298611d6a4785eb Cr-Commit-Position: refs/heads/master@{#373526}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Add static_cast<int> to fix compilation warning on Win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -333 lines) Patch
M chrome/browser/chromeos/login/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/tab_model/tab_model.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/tab_model/tab_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/toolbar/toolbar_model_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
D chrome/browser/ui/toolbar/toolbar_model_delegate.h View 1 2 1 chunk +0 lines, -64 lines 0 comments Download
D chrome/browser/ui/toolbar/toolbar_model_impl.h View 1 chunk +0 lines, -64 lines 0 comments Download
D chrome/browser/ui/toolbar/toolbar_model_impl.cc View 1 2 1 chunk +0 lines, -175 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M components/toolbar.gypi View 1 2 chunks +11 lines, -0 lines 0 comments Download
M components/toolbar/BUILD.gn View 1 chunk +11 lines, -0 lines 0 comments Download
M components/toolbar/DEPS View 1 chunk +6 lines, -0 lines 0 comments Download
A + components/toolbar/toolbar_model_delegate.h View 1 2 3 chunks +3 lines, -7 lines 0 comments Download
A + components/toolbar/toolbar_model_impl.h View 3 chunks +3 lines, -8 lines 0 comments Download
A + components/toolbar/toolbar_model_impl.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (10 generated)
sdefresne
Please take a look.
4 years, 10 months ago (2016-02-01 17:55:07 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/1652153003/diff/20001/components/toolbar/toolbar_model_impl.h File components/toolbar/toolbar_model_impl.h (right): https://codereview.chromium.org/1652153003/diff/20001/components/toolbar/toolbar_model_impl.h#newcode27 components/toolbar/toolbar_model_impl.h:27: class ToolbarModelImpl : public ToolbarModel { Do we ...
4 years, 10 months ago (2016-02-02 23:38:56 UTC) #4
sdefresne
On 2016/02/02 at 23:38:56, pkasting wrote: > LGTM > > https://codereview.chromium.org/1652153003/diff/20001/components/toolbar/toolbar_model_impl.h > File components/toolbar/toolbar_model_impl.h (right): ...
4 years, 10 months ago (2016-02-03 17:44:01 UTC) #5
blundell
On 2016/02/03 17:44:01, sdefresne wrote: > On 2016/02/02 at 23:38:56, pkasting wrote: > > LGTM ...
4 years, 10 months ago (2016-02-04 07:21:03 UTC) #6
sdefresne
https://codereview.chromium.org/1652153003/diff/20001/components/toolbar/toolbar_model_impl.h File components/toolbar/toolbar_model_impl.h (right): https://codereview.chromium.org/1652153003/diff/20001/components/toolbar/toolbar_model_impl.h#newcode27 components/toolbar/toolbar_model_impl.h:27: class ToolbarModelImpl : public ToolbarModel { On 2016/02/02 at ...
4 years, 10 months ago (2016-02-04 10:35:34 UTC) #7
sdefresne
Missing LGTM from OWNERS of dependencies added to DEPS: '+net', '+ui/base', mmenke: for new DEPS ...
4 years, 10 months ago (2016-02-04 11:47:34 UTC) #9
sdefresne
TBR-ing for the new DEPS as they are pre-existing via the dependency on chrome/browser/ui and ...
4 years, 10 months ago (2016-02-04 11:49:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652153003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652153003/40001
4 years, 10 months ago (2016-02-04 11:49:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/163641)
4 years, 10 months ago (2016-02-04 12:54:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652153003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652153003/60001
4 years, 10 months ago (2016-02-04 13:02:53 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-04 14:18:46 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 14:19:57 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3adc092bb1a55a8142de90dda298611d6a4785eb
Cr-Commit-Position: refs/heads/master@{#373526}

Powered by Google App Engine
This is Rietveld 408576698