|
Refactor ViewsDelegate singleton
Currently, the variable containing ViewsDelegate singleton object can be
set by anyone and there are cases (at least in tests) where it is freely
replaced without properly deleting the old one which can lead to
situations where multiple ViewsDelegate objects are in existence. This
patch tries to ensure that there is at most one instance available at
each time.
Also, cleaned up some ViewsDelegate related includes.
BUG= 492991
Committed: https://crrev.com/0ff8c0e1c8c805bce8e216c74c66ccc8fd137a6f
Cr-Commit-Position: refs/heads/master@{#333692}
Total comments: 10
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -115 lines) |
Patch |
 |
M |
apps/ui/views/app_window_frame_view.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/content/display/screen_orientation_controller_chromeos_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/drag_drop/drag_drop_controller.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/drag_drop/drag_drop_controller_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell/content_client/shell_browser_main_parts.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/content_client/shell_browser_main_parts.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/find_bar_host_interactive_uitest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/menu_test_base.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/view_event_test_base.cc
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/app_list_view_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_popup_collection.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/accessibility/native_view_accessibility_auralinux.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/bubble/bubble_border_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/cocoa/bridged_native_widget.mm
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_controller.cc
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_model_adapter.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/textfield/textfield.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/webview/webview.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/webview/webview_interactive_uitest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/webview/webview_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/test_views_delegate_aura.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/test_views_delegate_mac.mm
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.h
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/touchui/touch_selection_menu_runner_views_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/view.cc
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/view_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/views_delegate.h
|
View
|
1
2
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/views_delegate.cc
|
View
|
1
2
3
|
6 chunks |
+27 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
|
View
|
1
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_delegate.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_interactive_uitest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/win/hwnd_message_handler.cc
|
View
|
|
2 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/views/win/windows_session_change_observer.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/window/custom_frame_view.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 19 (5 generated)
|