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

Issue 1581473002: Remove base/win/metro.{cc|h} and some associated code (Closed)

Created:
4 years, 11 months ago by scottmg
Modified:
4 years, 11 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, vmpstr+watch_chromium.org, posciak+watch_chromium.org, rginda+watch_chromium.org, ajwong+watch_chromium.org, extensions-reviews_chromium.org, tdanderson+views_chromium.org, Matt Giuca, grt+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, dbeam+watch-options_chromium.org, Avi (use Gerrit), creis+watch_chromium.org, tapted, feature-media-reviews_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, michaelpg+watch-options_chromium.org, wfh+watch_chromium.org, shuchen+watch_chromium.org, mcasas+watch_chromium.org, tfarina, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove base/win/metro.{cc|h} and some associated code The goal was to start by removing base/win/metro.{cc|h}, but this ended up touching a number of places. So, also removed are: chrome/browser/metro_utils/ chrome/browser/ui/apps/apps_metro_handler_win.{cc|h} chrome/browser/ui/metro_pin_tab_helper_win.{cc|h} chrome/browser/ui/views/frame/browser_frame_ashwin.{cc|h} In order for the CL to not get even larger, there are some added TODOs pointing at the associated bug where calls to the above were removed, but the surrounding code is not yet simplified. BUG=558054 Committed: https://crrev.com/969ea45d00215441dd9aa4f5fa2527546e3f5f87 Cr-Commit-Position: refs/heads/master@{#368971}

Patch Set 1 #

Patch Set 2 : installer #

Total comments: 4

Patch Set 3 : test & linux #

Total comments: 1

Patch Set 4 : fixes #

Total comments: 17
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -1913 lines) Patch
M base/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M base/base.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
D base/win/metro.h View 1 chunk +0 lines, -128 lines 0 comments Download
D base/win/metro.cc View 1 chunk +0 lines, -118 lines 0 comments Download
M base/win/win_util.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/app/main_dll_loader_win.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/app/main_dll_loader_win.cc View 1 2 3 7 chunks +5 lines, -19 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/browser_process_platform_part_aurawin.cc View 2 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 3 chunks +0 lines, -20 lines 0 comments Download
M chrome/browser/chrome_select_file_dialog_factory_win.cc View 4 chunks +4 lines, -29 lines 0 comments Download
M chrome/browser/extensions/chrome_requirements_checker.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/first_run/first_run_internal_win.cc View 2 chunks +9 lines, -24 lines 0 comments Download
M chrome/browser/first_run/upgrade_util_win.cc View 3 chunks +2 lines, -70 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.h View 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/browser/lifetime/application_lifetime_win.cc View 1 chunk +0 lines, -79 lines 0 comments Download
D chrome/browser/metro_utils/BUILD.gn View 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/browser/metro_utils/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/browser/metro_utils/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/metro_utils/metro_chrome_win.h View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/metro_utils/metro_chrome_win.cc View 1 chunk +0 lines, -72 lines 0 comments Download
M chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/platform_util_win.cc View 3 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.cc View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/plugins/plugin_observer.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/process_singleton_win.cc View 5 chunks +0 lines, -66 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/shell_integration_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/shell_integration_win_unittest.cc View 1 2 4 chunks +6 lines, -24 lines 0 comments Download
M chrome/browser/tab_contents/navigation_metrics_recorder.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/navigation_metrics_recorder.cc View 2 chunks +0 lines, -21 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/ui/apps/apps_metro_handler_win.h View 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/browser/ui/apps/apps_metro_handler_win.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 3 chunks +2 lines, -91 lines 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 2 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm View 1 chunk +0 lines, -6 lines 0 comments Download
D chrome/browser/ui/metro_pin_tab_helper_win.h View 1 chunk +0 lines, -70 lines 0 comments Download
D chrome/browser/ui/metro_pin_tab_helper_win.cc View 1 chunk +0 lines, -463 lines 0 comments Download
M chrome/browser/ui/pdf/pdf_unsupported_feature.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/toolbar/app_menu_model.cc View 3 chunks +2 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc View 1 2 3 3 chunks +0 lines, -21 lines 0 comments Download
D chrome/browser/ui/views/frame/browser_frame_ashwin.h View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/ui/views/frame/browser_frame_ashwin.cc View 1 chunk +0 lines, -42 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_window_factory.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame_factory.h View 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame_factory.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame_factory_aurawin.cc View 2 chunks +0 lines, -13 lines 0 comments Download
D chrome/browser/ui/views/frame/native_browser_frame_factory_desktop_ash.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 5 chunks +0 lines, -9 lines 0 comments Download
M chrome/chrome_process_finder.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_paths_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/api/plugins/plugins_handler.cc View 2 chunks +5 lines, -13 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 1 chunk +0 lines, -2 lines 4 comments Download
M chrome/installer/setup/install_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/installer/util/install_util.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/installer/util/install_util.cc View 3 chunks +0 lines, -10 lines 2 comments Download
M chrome/installer/util/shell_util.cc View 3 chunks +5 lines, -11 lines 4 comments Download
M chrome/installer/util/util_constants.cc View 1 chunk +0 lines, -1 line 2 comments Download
D chrome/metro_utils.gypi View 1 chunk +0 lines, -23 lines 0 comments Download
M components/crash/content/app/breakpad_win.cc View 3 chunks +1 line, -5 lines 0 comments Download
M components/metrics/metrics_log.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M media/capture/video/win/video_capture_device_factory_win.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M ui/base/ime/input_method_factory.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/ime/remote_input_method_win.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M ui/base/layout.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/win/shell.cc View 4 chunks +6 lines, -13 lines 0 comments Download
M ui/gfx/win/hwnd_util.cc View 3 chunks +1 line, -11 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
M win8/delegate_execute/command_execute_impl.cc View 2 chunks +1 line, -21 lines 5 comments Download
M win8/metro_driver/chrome_app_view_ash.cc View 1 chunk +0 lines, -1 line 0 comments Download
M win8/metro_driver/file_picker_ash.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 32 (12 generated)
scottmg
thakis: base/ sky: chrome/ and ui/ asvitkine: components/metrics/ mcasas: media/capture/video/ ananta: win8/
4 years, 11 months ago (2016-01-11 23:22:54 UTC) #6
Nico
base/ lgtm
4 years, 11 months ago (2016-01-11 23:23:41 UTC) #7
Will Harris
drive-by farewell to all this code.
4 years, 11 months ago (2016-01-11 23:27:36 UTC) #8
sky
Wow, that's a lot of code! LGTM with the following changes. Is it possible to ...
4 years, 11 months ago (2016-01-12 03:40:51 UTC) #9
Alexei Svitkine (slow)
components/metrics lgtm woot!
4 years, 11 months ago (2016-01-12 15:27:25 UTC) #10
mcasas
media/.../win LGTM https://codereview.chromium.org/1581473002/diff/40001/media/capture/video/win/video_capture_device_factory_win.cc File media/capture/video/win/video_capture_device_factory_win.cc (left): https://codereview.chromium.org/1581473002/diff/40001/media/capture/video/win/video_capture_device_factory_win.cc#oldcode382 media/capture/video/win/video_capture_device_factory_win.cc:382: !cmd_line->HasSwitch(switches::kForceDirectShowVideoCapture)) || Hmm this flag goes unused, ...
4 years, 11 months ago (2016-01-12 17:25:49 UTC) #11
scottmg
https://codereview.chromium.org/1581473002/diff/20001/chrome/app/main_dll_loader_win.cc File chrome/app/main_dll_loader_win.cc (right): https://codereview.chromium.org/1581473002/diff/20001/chrome/app/main_dll_loader_win.cc#newcode199 chrome/app/main_dll_loader_win.cc:199: HMODULE dll = LoadModuleWithDirectory(*module, true); On 2016/01/12 03:40:51, sky ...
4 years, 11 months ago (2016-01-12 18:24:16 UTC) #12
scottmg
On 2016/01/12 03:40:51, sky wrote: > Wow, that's a lot of code! > LGTM with ...
4 years, 11 months ago (2016-01-12 18:25:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1581473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1581473002/60001
4 years, 11 months ago (2016-01-12 19:06:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/134630)
4 years, 11 months ago (2016-01-12 19:18:48 UTC) #18
ananta
metro code lgtm
4 years, 11 months ago (2016-01-12 20:09:15 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1581473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1581473002/60001
4 years, 11 months ago (2016-01-12 20:11:33 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-12 20:20:02 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/969ea45d00215441dd9aa4f5fa2527546e3f5f87 Cr-Commit-Position: refs/heads/master@{#368971}
4 years, 11 months ago (2016-01-12 20:20:46 UTC) #25
Will Harris
On 2016/01/12 20:20:02, commit-bot: I haz the power wrote: > Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-12 20:20:49 UTC) #26
gab
Drive-by on installer stuff (please include me or grt on future installer changes). PS: This ...
4 years, 11 months ago (2016-01-12 21:11:04 UTC) #28
scottmg
Thanks Gab, sorry I meant to add one of you for installer but then forgot ...
4 years, 11 months ago (2016-01-13 20:48:16 UTC) #29
gab
https://codereview.chromium.org/1581473002/diff/60001/win8/delegate_execute/command_execute_impl.cc File win8/delegate_execute/command_execute_impl.cc (left): https://codereview.chromium.org/1581473002/diff/60001/win8/delegate_execute/command_execute_impl.cc#oldcode498 win8/delegate_execute/command_execute_impl.cc:498: if (reg_key.ReadValueDW(chrome::kLaunchModeValue, On 2016/01/13 20:48:16, scottmg wrote: > On ...
4 years, 11 months ago (2016-01-14 03:10:27 UTC) #30
gab
https://codereview.chromium.org/1581473002/diff/60001/win8/delegate_execute/command_execute_impl.cc File win8/delegate_execute/command_execute_impl.cc (left): https://codereview.chromium.org/1581473002/diff/60001/win8/delegate_execute/command_execute_impl.cc#oldcode498 win8/delegate_execute/command_execute_impl.cc:498: if (reg_key.ReadValueDW(chrome::kLaunchModeValue, On 2016/01/14 03:10:27, gab wrote: > On ...
4 years, 11 months ago (2016-01-14 03:12:24 UTC) #31
gab
4 years, 11 months ago (2016-01-14 03:30:37 UTC) #32
Message was sent while issue was closed.
https://codereview.chromium.org/1581473002/diff/60001/win8/delegate_execute/c...
File win8/delegate_execute/command_execute_impl.cc (right):

https://codereview.chromium.org/1581473002/diff/60001/win8/delegate_execute/c...
win8/delegate_execute/command_execute_impl.cc:456: launch_mode =
ECHUIM_IMMERSIVE;
We should probably get rid of all ECHUIM_IMMERSIVE and AHE_IMMERSIVE options in
delegate_execute, just having them still there while the support backing it is
gone in M49 scares me (since branch cut is imminent and the rest of the removal
won't make it..).

I guess it's all behind switches and keyboard tricks but still...

Powered by Google App Engine
This is Rietveld 408576698