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

Issue 2272173002: Fix most chrome/browser/ui "gn check" problems. (Closed)

Created:
4 years, 4 months ago by brettw
Modified:
4 years, 3 months ago
Reviewers:
sky, Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, tfarina, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix most chrome/browser/ui "gn check" problems. There is one blocking bug that prevents this from being added, but this addresses the other issues. Aura and Ash hit a "gn check" worst-case which requires lots of //nogncheck annotations. This also separates out browser.h includes into !OS_ANDROID blocks (previously these includes were unconditional but "Browser" doesn't exist on Android). R=sky TBR=dbeam for webui/* Committed: https://crrev.com/08fe0e95b421f4dec693af537a4ce139fb9cbe9f Cr-Commit-Position: refs/heads/master@{#414823}

Patch Set 1 #

Patch Set 2 : Format #

Patch Set 3 : Whoopsie #

Patch Set 4 : Drive #

Patch Set 5 : Merge #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -127 lines) Patch
M .gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 21 chunks +97 lines, -44 lines 2 comments Download
M chrome/browser/ui/apps/chrome_app_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/aura/accessibility/automation_manager_aura.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/extensions/extension_install_ui_default.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/tab_contents/core_tab_helper.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/app_menu_model.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/accelerator_utils_aura.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/first_run_dialog.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/system_menu_model_builder.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/screen_capture_notification_ui_views.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/status_bubble_views.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 1 chunk +12 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/components_ui.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/instant_ui.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/settings/appearance_handler.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 chunks +4 lines, -5 lines 0 comments Download
M components/translate/content/browser/BUILD.gn View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/BUILD.gn View 3 chunks +4 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (25 generated)
brettw
Drive
4 years, 3 months ago (2016-08-25 21:50:13 UTC) #11
brettw
Merge
4 years, 3 months ago (2016-08-25 22:57:14 UTC) #16
brettw
4 years, 3 months ago (2016-08-26 20:05:55 UTC) #21
sky
There sure is a lot of ick in here. LGTM https://codereview.chromium.org/2272173002/diff/80001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2272173002/diff/80001/chrome/browser/ui/BUILD.gn#newcode471 ...
4 years, 3 months ago (2016-08-26 20:10:25 UTC) #22
brettw
https://codereview.chromium.org/2272173002/diff/80001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2272173002/diff/80001/chrome/browser/ui/BUILD.gn#newcode471 chrome/browser/ui/BUILD.gn:471: sources += [ "browser_window.h" ] On 2016/08/26 20:10:25, sky ...
4 years, 3 months ago (2016-08-26 20:14:31 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2272173002/80001
4 years, 3 months ago (2016-08-26 20:15:24 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/247378)
4 years, 3 months ago (2016-08-26 20:25:23 UTC) #27
brettw
TBR dbeam for webui
4 years, 3 months ago (2016-08-26 21:47:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2272173002/80001
4 years, 3 months ago (2016-08-26 21:48:39 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-26 21:54:04 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 21:55:59 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/08fe0e95b421f4dec693af537a4ce139fb9cbe9f
Cr-Commit-Position: refs/heads/master@{#414823}

Powered by Google App Engine
This is Rietveld 408576698