|
|
Change the type of InitParams.context from gfx::NativeView to
gfx::NativeWindow.
With aura, gfx::NativeView and gfx::NativeWindow both map to aura::Window.
But on Mac they map to different types (NSWindow and NSView), so they can't
be used interchangeably.
|context| is used to determine the desktop type, and most of the call sites
are looking to pass a window instead of a view.
By changing context's type to gfx::NativeWindow, we get these call sites to
compile with MacViews while maintaining previous behavior with aura.
BUG= 390755
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283126
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+27 lines, -28 lines) |
Patch |
 |
M |
chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/status_bubble_views.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab_strip.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/examples/examples_window.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/examples/examples_window.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/examples/examples_window_with_content.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/examples/examples_window_with_content.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/examples/examples_with_content_main_exe.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_helper.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_helper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_helper_aura.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_helper_aura.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/window/dialog_delegate.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/window/dialog_delegate.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views_content_client/views_content_client.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|