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

Issue 2758323002: Broke out layout metric information from ViewsDelegate to LayoutProvider (Closed)

Created:
3 years, 9 months ago by kylix_rd
Modified:
3 years, 8 months ago
CC:
chromium-reviews, groby+bubble_chromium.org, tfarina, msw+watch_chromium.org, hcarmona+bubble_chromium.org, mac-reviews_chromium.org, rouslan+bubble_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Broke out layout metric information from ViewsDelegate to ViewsLayoutDelegate BUG=687349 TBR=msw@chromium.org Review-Url: https://codereview.chromium.org/2758323002 Cr-Commit-Position: refs/heads/master@{#464448} Committed: https://chromium.googlesource.com/chromium/src/+/4e8cac4101f13be9f86b455f06ec7b46fc707e93

Patch Set 1 : Broke out layout metric information from ViewsDelegate to ViewsLayoutDelegate #

Patch Set 2 : ChromeOS build fix #

Patch Set 3 : Broke out layout metric information from ViewsDelegate to ViewsLayoutDelegate #

Patch Set 4 : Fix Bookmark and Global error unittests #

Total comments: 10

Patch Set 5 : Convert more metric queries to use new ChromeViewsLayoutDelegate #

Patch Set 6 : Fix various unit-tests #

Total comments: 21

Patch Set 7 : Moved remaining LayoutDelegate references to ChromeViewsLayoutDelegate #

Patch Set 8 : Update unit tests to work with ChromeViewsLayoutDelegate #

Patch Set 9 : Deleted LayoutDelegate and HarmonyLayoutDelegate. #

Total comments: 70

Patch Set 10 : Addressed Feedback. Renamed ViewsLayoutDelegate to LayoutDelegate and ChromeViewsLayoutDelegate to … #

Total comments: 1

Patch Set 11 : Fix Mac,Linux,ChromeOS builds #

Patch Set 12 : Fix warning which causes one of the bots to fail #

Total comments: 19

Patch Set 13 : Changes due to feedback. #

Total comments: 2

Patch Set 14 : Removed override of GetInsetsMetric from ChromeLayoutDelegate. Inline test_views_delegate(). Change… #

Patch Set 15 : LayoutDelegate -> LayoutProvider #

Total comments: 49

Patch Set 16 : Final feedback addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+939 lines, -1297 lines) Patch
M ash/mus/app_launch_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M ash/test/ash_test_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -2 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/accessibility/select_to_speak_event_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/options/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/options/vpn_config_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 chunks +18 lines, -27 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 chunks +28 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/options/wimax_config_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +10 lines, -14 lines 0 comments Download
M chrome/browser/first_run/try_chrome_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/arc_app_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +13 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +1 line, -96 lines 0 comments Download
M chrome/browser/ui/views/collected_cookies_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +24 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +15 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/cookie_info_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_picker_views_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/device_chooser_content_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 11 chunks +18 lines, -21 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/extensions/media_galleries_dialog_views_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +8 lines, -1 line 0 comments Download
A chrome/browser/ui/views/harmony/chrome_layout_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +101 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/harmony/chrome_layout_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +87 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/harmony/harmony_layout_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/ui/views/harmony/harmony_layout_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -103 lines 0 comments Download
A + chrome/browser/ui/views/harmony/harmony_layout_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +13 lines, -15 lines 0 comments Download
A chrome/browser/ui/views/harmony/harmony_layout_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +111 lines, -0 lines 0 comments Download
D chrome/browser/ui/views/harmony/layout_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -122 lines 0 comments Download
M chrome/browser/ui/views/harmony/layout_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -104 lines 0 comments Download
M chrome/browser/ui/views/harmony/layout_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -271 lines 0 comments Download
A + chrome/browser/ui/views/harmony/layout_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/hung_renderer_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/importer/import_lock_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/login_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +13 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/page_info/page_info_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/webshare/webshare_target_picker_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/webshare/webshare_target_picker_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/browser_with_test_window_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +21 lines, -5 lines 0 comments Download
M chrome/test/base/browser_with_test_window_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +11 lines, -7 lines 0 comments Download
M components/constrained_window/constrained_window_views_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -4 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/controls/button/image_button_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -4 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/controls/button/md_text_button.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -6 lines 0 comments Download
M ui/views/examples/dialog_example.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +7 lines, -7 lines 0 comments Download
M ui/views/layout/grid_layout.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -3 lines 0 comments Download
A ui/views/layout/layout_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +94 lines, -0 lines 0 comments Download
A ui/views/layout/layout_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +77 lines, -0 lines 0 comments Download
M ui/views/mus/aura_init.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -5 lines 0 comments Download
M ui/views/style/typography.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -6 lines 0 comments Download
M ui/views/test/scoped_views_test_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/test/scoped_views_test_helper.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download
M ui/views/test/test_views_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +10 lines, -3 lines 0 comments Download
M ui/views/test/test_views_delegate_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -4 lines 0 comments Download
M ui/views/test/test_views_delegate_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -4 lines 0 comments Download
M ui/views/test/views_test_base.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/views_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +2 lines, -45 lines 0 comments Download
M ui/views/views_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +14 lines, -50 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/root_view_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/widget_interactive_uitest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +11 lines, -11 lines 0 comments Download
M ui/views/window/dialog_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 213 (167 generated)
kylix_rd
While this CL isn't complete, I'm pushing it anyway so I can start to get ...
3 years, 9 months ago (2017-03-23 13:39:35 UTC) #15
Peter Kasting
On 2017/03/23 13:39:35, kylix_rd wrote: > I'm not too crazy about how the enumeration is ...
3 years, 9 months ago (2017-03-24 00:16:38 UTC) #26
Peter Kasting
On 2017/03/24 00:16:38, Peter Kasting wrote: > Basically, use an enum rather than an enum ...
3 years, 9 months ago (2017-03-24 00:19:08 UTC) #27
Peter Kasting
Didn't review most things, as the majority of this looks mechanical. Just looked at some ...
3 years, 9 months ago (2017-03-24 00:45:22 UTC) #28
kylix_rd
On 2017/03/24 00:16:38, Peter Kasting wrote: > On 2017/03/23 13:39:35, kylix_rd wrote: > > I'm ...
3 years, 9 months ago (2017-03-24 13:48:17 UTC) #29
kylix_rd
https://codereview.chromium.org/2758323002/diff/60001/ui/views/layout/views_layout_delegate.cc File ui/views/layout/views_layout_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/60001/ui/views/layout/views_layout_delegate.cc#newcode35 ui/views/layout/views_layout_delegate.cc:35: return layout_delegate_; On 2017/03/24 00:45:21, Peter Kasting wrote: > ...
3 years, 9 months ago (2017-03-24 14:07:16 UTC) #30
kylix_rd
On 2017/03/24 14:07:16, kylix_rd wrote: > https://codereview.chromium.org/2758323002/diff/60001/ui/views/layout/views_layout_delegate.cc > File ui/views/layout/views_layout_delegate.cc (right): > > https://codereview.chromium.org/2758323002/diff/60001/ui/views/layout/views_layout_delegate.cc#newcode35 > ...
3 years, 9 months ago (2017-03-24 16:31:14 UTC) #33
Peter Kasting
On 2017/03/24 13:48:17, kylix_rd wrote: > On 2017/03/24 00:16:38, Peter Kasting wrote: > > On ...
3 years, 9 months ago (2017-03-24 19:58:43 UTC) #53
Peter Kasting
https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc (right): https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc#newcode40 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc:40: views_delegate_.set_layout_delegate(nullptr); Why is this line needed? Same comment elsewhere ...
3 years, 9 months ago (2017-03-24 22:51:14 UTC) #59
kylix_rd
https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc (right): https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc#newcode40 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc:40: views_delegate_.set_layout_delegate(nullptr); On 2017/03/24 22:51:13, Peter Kasting wrote: > Why ...
3 years, 9 months ago (2017-03-27 18:18:28 UTC) #60
Peter Kasting
https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc (right): https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc#newcode40 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc:40: views_delegate_.set_layout_delegate(nullptr); On 2017/03/27 18:18:27, kylix_rd wrote: > On 2017/03/24 ...
3 years, 9 months ago (2017-03-27 20:06:48 UTC) #61
kylix_rd
Here's the latest. It's now passing the ChromeOS try-bot. I've also gone ahead and implemented ...
3 years, 8 months ago (2017-03-29 18:56:04 UTC) #67
Peter Kasting
Didn't have time to review everything. https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc File chrome/browser/chromeos/options/vpn_config_view.cc (right): https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc#newcode508 chrome/browser/chromeos/options/vpn_config_view.cc:508: ChromeViewsLayoutDelegate* delegate = ...
3 years, 8 months ago (2017-03-30 00:49:04 UTC) #72
kylix_rd
Getting closer. More to come. https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc File chrome/browser/chromeos/options/vpn_config_view.cc (right): https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc#newcode508 chrome/browser/chromeos/options/vpn_config_view.cc:508: ChromeViewsLayoutDelegate* delegate = ChromeViewsLayoutDelegate::Get(); ...
3 years, 8 months ago (2017-03-30 19:34:08 UTC) #80
Peter Kasting
https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc File chrome/browser/chromeos/options/vpn_config_view.cc (right): https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc#newcode508 chrome/browser/chromeos/options/vpn_config_view.cc:508: ChromeViewsLayoutDelegate* delegate = ChromeViewsLayoutDelegate::Get(); On 2017/03/30 19:34:07, kylix_rd wrote: ...
3 years, 8 months ago (2017-03-30 19:40:02 UTC) #81
kylix_rd
I used a hybrid approach to the enumerations in this pass. I just want to ...
3 years, 8 months ago (2017-03-31 21:12:40 UTC) #103
Peter Kasting
https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc File chrome/browser/chromeos/options/vpn_config_view.cc (right): https://codereview.chromium.org/2758323002/diff/320001/chrome/browser/chromeos/options/vpn_config_view.cc#newcode508 chrome/browser/chromeos/options/vpn_config_view.cc:508: ChromeViewsLayoutDelegate* delegate = ChromeViewsLayoutDelegate::Get(); On 2017/03/31 21:12:40, kylix_rd wrote: ...
3 years, 8 months ago (2017-03-31 22:14:29 UTC) #106
kylix_rd
Here's the breakdown: oshima@: ash/* chrome/browser/chromeos/* gab@: chrome/browser/ui/views/first_run/* benwells@: chrome/browser/ui/views/extensions/* sky@, pkasting@: ui/views/*
3 years, 8 months ago (2017-04-03 17:56:13 UTC) #115
gab
first_run/ rs-lgtm (for trivial naming side-effects you can TBR)
3 years, 8 months ago (2017-04-03 18:22:05 UTC) #116
Peter Kasting
On 2017/04/03 17:56:13, kylix_rd wrote: > Here's the breakdown: > > oshima@: > > ash/* ...
3 years, 8 months ago (2017-04-03 21:53:20 UTC) #117
oshima
ash,chromeos lgtm
3 years, 8 months ago (2017-04-03 22:35:12 UTC) #118
benwells
c/b/ui/views/extensions lgtm
3 years, 8 months ago (2017-04-04 00:53:58 UTC) #119
Peter Kasting
Heck with it, I just reviewed everything. https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/harmony/chrome_views_layout_delegate.cc File chrome/browser/ui/views/harmony/chrome_views_layout_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/180001/chrome/browser/ui/views/harmony/chrome_views_layout_delegate.cc#newcode31 chrome/browser/ui/views/harmony/chrome_views_layout_delegate.cc:31: return layout_delegate_; ...
3 years, 8 months ago (2017-04-04 02:08:57 UTC) #120
kylix_rd
Addressed most of the feedback, including the rename of ViewsLayoutDelegate, ChromeViewsLayoutDelegate and HarmonyViewsLayoutDelegate along with ...
3 years, 8 months ago (2017-04-04 20:28:24 UTC) #121
kylix_rd
Removed DEPS file and fixed some non-Windows platform builds. https://codereview.chromium.org/2758323002/diff/510001/chrome/browser/chromeos/options/DEPS File chrome/browser/chromeos/options/DEPS (right): https://codereview.chromium.org/2758323002/diff/510001/chrome/browser/chromeos/options/DEPS#newcode5 chrome/browser/chromeos/options/DEPS:5: ...
3 years, 8 months ago (2017-04-04 20:50:03 UTC) #122
Peter Kasting
Have not re-reviewed https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode66 chrome/browser/ui/views/chrome_views_delegate.cc:66: #if !defined(OS_WIN) On 2017/04/04 20:28:22, kylix_rd ...
3 years, 8 months ago (2017-04-05 19:30:10 UTC) #133
Peter Kasting
https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc#newcode34 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc:34: base::MakeUnique<ChromeViewsLayoutDelegate>()); On 2017/04/04 20:28:22, kylix_rd wrote: > On 2017/04/04 ...
3 years, 8 months ago (2017-04-06 08:13:36 UTC) #134
kylix_rd
https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode66 chrome/browser/ui/views/chrome_views_delegate.cc:66: #if !defined(OS_WIN) On 2017/04/05 19:30:10, Peter Kasting wrote: > ...
3 years, 8 months ago (2017-04-06 16:48:19 UTC) #135
sky
One random naming suggestion. https://codereview.chromium.org/2758323002/diff/630001/ui/views/layout/layout_delegate.h File ui/views/layout/layout_delegate.h (right): https://codereview.chromium.org/2758323002/diff/630001/ui/views/layout/layout_delegate.h#newcode49 ui/views/layout/layout_delegate.h:49: class VIEWS_EXPORT LayoutDelegate { This ...
3 years, 8 months ago (2017-04-06 19:59:24 UTC) #145
Peter Kasting
https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode66 chrome/browser/ui/views/chrome_views_delegate.cc:66: #if !defined(OS_WIN) On 2017/04/06 16:48:19, kylix_rd wrote: > On ...
3 years, 8 months ago (2017-04-06 20:05:33 UTC) #146
kylix_rd
https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode66 chrome/browser/ui/views/chrome_views_delegate.cc:66: #if !defined(OS_WIN) On 2017/04/06 20:05:33, Peter Kasting wrote: > ...
3 years, 8 months ago (2017-04-07 14:07:59 UTC) #147
Peter Kasting
https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode66 chrome/browser/ui/views/chrome_views_delegate.cc:66: #if !defined(OS_WIN) On 2017/04/07 14:07:58, kylix_rd wrote: > On ...
3 years, 8 months ago (2017-04-07 18:02:39 UTC) #148
kylix_rd
Added msw@chromium.org to TBR for the rename in components/constrained_window/constrained_window_views_unittest.cc https://codereview.chromium.org/2758323002/diff/490001/chrome/test/base/browser_with_test_window_test.h File chrome/test/base/browser_with_test_window_test.h (right): https://codereview.chromium.org/2758323002/diff/490001/chrome/test/base/browser_with_test_window_test.h#newcode154 chrome/test/base/browser_with_test_window_test.h:154: ...
3 years, 8 months ago (2017-04-07 18:33:36 UTC) #153
msw
constrained_window_views_unittest.cc lgtm, didn't look elsewhere.
3 years, 8 months ago (2017-04-07 19:02:50 UTC) #156
kylix_rd
The next patch will have the requested name change from LayoutDelegate to LayoutProvider (along with ...
3 years, 8 months ago (2017-04-12 00:03:33 UTC) #178
kylix_rd
Finished refactoring of Insets and Distance enums along with change from LayoutDelegate to LayoutProvider. This ...
3 years, 8 months ago (2017-04-12 15:03:37 UTC) #186
Peter Kasting
LGTM with one substantial comment Thanks for the endless slog here! I don't know whether ...
3 years, 8 months ago (2017-04-12 21:37:44 UTC) #189
sky
LGTM - I'm not sure why you felt the need to rename ViewsDelegate members/accessors to ...
3 years, 8 months ago (2017-04-12 22:43:58 UTC) #190
Peter Kasting
https://codereview.chromium.org/2758323002/diff/770001/ash/test/ash_test_helper.h File ash/test/ash_test_helper.h (right): https://codereview.chromium.org/2758323002/diff/770001/ash/test/ash_test_helper.h#newcode153 ash/test/ash_test_helper.h:153: std::unique_ptr<AshTestViewsDelegate> test_views_delegate_; On 2017/04/12 22:43:57, sky wrote: > optional: ...
3 years, 8 months ago (2017-04-12 22:48:00 UTC) #191
sky
Fair enough. On Wed, Apr 12, 2017 at 3:47 PM, <pkasting@chromium.org> wrote: > > https://codereview.chromium.org/2758323002/diff/770001/ ...
3 years, 8 months ago (2017-04-12 22:48:59 UTC) #192
kylix_rd
Nearly all the feedback should be addressed now. Will land soon. > I don't know ...
3 years, 8 months ago (2017-04-13 16:45:43 UTC) #201
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/2758323002/810001
3 years, 8 months ago (2017-04-13 16:47:12 UTC) #206
commit-bot: I haz the power
Committed patchset #16 (id:810001) as https://chromium.googlesource.com/chromium/src/+/4e8cac4101f13be9f86b455f06ec7b46fc707e93
3 years, 8 months ago (2017-04-13 17:21:35 UTC) #210
Bret
FYI: I just pulled this and I'm not getting Harmony layouts any more... it looks ...
3 years, 8 months ago (2017-04-13 23:16:32 UTC) #211
kylix_rd
On 2017/04/13 23:16:32, Bret Sepulveda wrote: > FYI: I just pulled this and I'm not ...
3 years, 8 months ago (2017-04-14 16:57:06 UTC) #212
kylix_rd
3 years, 8 months ago (2017-04-14 17:04:43 UTC) #213
Message was sent while issue was closed.
On 2017/04/14 16:57:06, kylix_rd wrote:
> On 2017/04/13 23:16:32, Bret Sepulveda wrote:
> > FYI: I just pulled this and I'm not getting Harmony layouts any more... it
> looks
> > like ChromeLayoutProvider::CreateLayoutProvider() is being called before
> > MaterialDesignController::Initialize() and so it's not picking up the
> > --secondary-ui-md flag. I can work around it but I'm not sure how to fix it.
> 
> Ugh... I'll take a look.

In c/b/ui/views/chrome_browser_main_extra_parts_views.cc, move the
CreateLayoutProvider() call block to
ChromeBrowserMainExtraPartsViews::PreCreateThreads().

Powered by Google App Engine
This is Rietveld 408576698