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 71743002: [Toolbar Views] Move toolbar files to a new subdirectory. (Closed)

Created:
7 years, 1 month ago by Greg Billock
Modified:
7 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, benquan, Ilya Sherman, dyu1, chromium-apps-reviews_chromium.org, Dane Wallinga, oshima+watch_chromium.org, tfarina, rouslan+autofillwatch_chromium.org, estade+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[Toolbar Views] Move toolbar files to a new subdirectory. This mimics the organization of chrome/browser/ui as well. R=pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235677

Patch Set 1 #

Total comments: 4

Patch Set 2 : ui test refs. todo. #

Patch Set 3 : rebase #

Patch Set 4 : Got missing win file #

Patch Set 5 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -5824 lines) Patch
M chrome/browser/chromeos/login/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/simple_web_view_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/views/browser_action_test_util_views.cc View 1 chunk +0 lines, -96 lines 0 comments Download
D chrome/browser/ui/views/browser_action_view.h View 1 chunk +0 lines, -238 lines 0 comments Download
D chrome/browser/ui/views/browser_action_view.cc View 1 2 3 4 1 chunk +0 lines, -428 lines 0 comments Download
D chrome/browser/ui/views/browser_actions_container.h View 1 chunk +0 lines, -386 lines 0 comments Download
D chrome/browser/ui/views/browser_actions_container.cc View 1 chunk +0 lines, -876 lines 0 comments Download
D chrome/browser/ui/views/browser_actions_container_browsertest.cc View 1 chunk +0 lines, -189 lines 0 comments Download
M chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/extensions/bundle_installed_bubble.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/views/home_button.h View 1 chunk +0 lines, -33 lines 0 comments Download
D chrome/browser/ui/views/home_button.cc View 1 chunk +0 lines, -180 lines 0 comments Download
M chrome/browser/ui/views/keyboard_access_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/star_view_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/network_profile_bubble_view.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/profile_reset_bubble_view.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/views/reload_button.h View 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/browser/ui/views/reload_button.cc View 1 chunk +0 lines, -268 lines 0 comments Download
D chrome/browser/ui/views/reload_button_unittest.cc View 1 chunk +0 lines, -150 lines 0 comments Download
M chrome/browser/ui/views/speech_recognition_bubble_views.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/browser_action_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/browser_action_view.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/browser_actions_container.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/browser_actions_container.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/browser_actions_container_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/toolbar/home_button.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/home_button.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/toolbar/reload_button.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/reload_button.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/toolbar/reload_button_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/toolbar/toolbar_view.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/toolbar/wrench_menu.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/wrench_menu.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/wrench_menu_observer.h View 2 chunks +4 lines, -3 lines 1 comment Download
A + chrome/browser/ui/views/toolbar/wrench_toolbar_button.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
A + chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/views/toolbar_view.h View 1 2 1 chunk +0 lines, -238 lines 0 comments Download
D chrome/browser/ui/views/toolbar_view.cc View 1 2 1 chunk +0 lines, -811 lines 0 comments Download
D chrome/browser/ui/views/toolbar_view_browsertest.cc View 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/browser/ui/views/wrench_menu.h View 1 chunk +0 lines, -193 lines 0 comments Download
D chrome/browser/ui/views/wrench_menu.cc View 1 chunk +0 lines, -1312 lines 0 comments Download
D chrome/browser/ui/views/wrench_menu_observer.h View 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/browser/ui/views/wrench_toolbar_button.h View 1 chunk +0 lines, -33 lines 0 comments Download
D chrome/browser/ui/views/wrench_toolbar_button.cc View 1 chunk +0 lines, -46 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 chunks +16 lines, -16 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (0 generated)
Greg Billock
7 years, 1 month ago (2013-11-13 17:01:00 UTC) #1
tfarina
That is cool! Thanks for doing this. It makes easier to reason about the code ...
7 years, 1 month ago (2013-11-13 17:24:25 UTC) #2
tfarina
https://codereview.chromium.org/71743002/diff/1/chrome/browser/chromeos/login/DEPS File chrome/browser/chromeos/login/DEPS (right): https://codereview.chromium.org/71743002/diff/1/chrome/browser/chromeos/login/DEPS#newcode8 chrome/browser/chromeos/login/DEPS:8: "!chrome/browser/ui/views/location_bar/location_icon_view.h", This makes me think, if now we have ...
7 years, 1 month ago (2013-11-13 17:27:01 UTC) #3
tfarina
https://codereview.chromium.org/71743002/diff/1/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h File chrome/browser/ui/views/toolbar/wrench_toolbar_button.h (right): https://codereview.chromium.org/71743002/diff/1/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h#newcode11 chrome/browser/ui/views/toolbar/wrench_toolbar_button.h:11: class WrenchToolbarButton : public views::MenuButton, can we name this ...
7 years, 1 month ago (2013-11-13 17:29:29 UTC) #4
Greg Billock
https://codereview.chromium.org/71743002/diff/1/chrome/browser/chromeos/login/DEPS File chrome/browser/chromeos/login/DEPS (right): https://codereview.chromium.org/71743002/diff/1/chrome/browser/chromeos/login/DEPS#newcode8 chrome/browser/chromeos/login/DEPS:8: "!chrome/browser/ui/views/location_bar/location_icon_view.h", On 2013/11/13 17:27:01, tfarina wrote: > This makes ...
7 years, 1 month ago (2013-11-13 18:23:26 UTC) #5
Peter Kasting
I agree this is nice. Rubber-stamp LGTM assuming you didn't change anything other than moving ...
7 years, 1 month ago (2013-11-13 19:35:27 UTC) #6
Greg Billock
On 2013/11/13 19:35:27, Peter Kasting wrote: > I agree this is nice. Rubber-stamp LGTM assuming ...
7 years, 1 month ago (2013-11-13 19:56:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/1
7 years, 1 month ago (2013-11-13 19:57:31 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=36011
7 years, 1 month ago (2013-11-13 20:24:32 UTC) #9
Greg Billock
On 2013/11/13 20:24:32, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 1 month ago (2013-11-13 20:28:27 UTC) #10
DaveMoore
lgtm
7 years, 1 month ago (2013-11-13 20:57:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/1
7 years, 1 month ago (2013-11-13 21:05:10 UTC) #12
tfarina
Greg, looks like you haven`t upload patch set 2 with the TODO.
7 years, 1 month ago (2013-11-13 21:06:31 UTC) #13
piman
lgtm
7 years, 1 month ago (2013-11-13 22:14:20 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-13 22:45:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/300001
7 years, 1 month ago (2013-11-14 17:22:36 UTC) #16
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/location_bar/star_view_browsertest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-14 17:23:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/330001
7 years, 1 month ago (2013-11-14 18:44:28 UTC) #18
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=54073
7 years, 1 month ago (2013-11-14 21:20:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/610001
7 years, 1 month ago (2013-11-15 02:28:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/610001
7 years, 1 month ago (2013-11-15 04:23:13 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=190562
7 years, 1 month ago (2013-11-15 07:34:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/610001
7 years, 1 month ago (2013-11-15 07:39:12 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=225006
7 years, 1 month ago (2013-11-15 10:26:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/610001
7 years, 1 month ago (2013-11-15 15:33:02 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/610001
7 years, 1 month ago (2013-11-15 22:25:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/610001
7 years, 1 month ago (2013-11-16 01:06:17 UTC) #27
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/toolbar/browser_action_view.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; A chrome/browser/ui/views/toolbar/browser_action_view.cc ...
7 years, 1 month ago (2013-11-16 01:06:36 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/71743002/1080001
7 years, 1 month ago (2013-11-16 06:41:32 UTC) #29
commit-bot: I haz the power
Change committed as 235677
7 years, 1 month ago (2013-11-18 08:55:15 UTC) #30
tfarina
7 years, 1 month ago (2013-11-22 22:21:23 UTC) #31
Message was sent while issue was closed.
https://codereview.chromium.org/71743002/diff/1080001/chrome/browser/ui/views...
File chrome/browser/ui/views/toolbar/wrench_menu_observer.h (right):

https://codereview.chromium.org/71743002/diff/1080001/chrome/browser/ui/views...
chrome/browser/ui/views/toolbar/wrench_menu_observer.h:8: // TODO(gbillock):
Make this an inner class of WrenchMenu. (even needed?)
why did you add this TODO?

Quoting from chromium coding style:

"Prefer putting delegate classes in their own header files. Implementors of the
delegate interface will often be included elsewhere, which will often cause more
coupling with the header of the main class."

http://www.chromium.org/developers/coding-style - Code formatting section

We also discussed about this in https://codereview.chromium.org/79773005/

Powered by Google App Engine
This is Rietveld 408576698