|
Minimal Chrome Frame with Aura.
It builds and runs, but not a whole lot else. This change includes:
* ChromeFrameAutomationProvider is now OS_WIN only. In practice, this
has been the case for some time. Now it's formalized by giving the
implementation files the _win suffix.
* Automation messages and datatypes used exclusively by Chrome Frame now
use HWND directly rather than a toolkit-specific gfx typedef of one
since the requirement is that an actual HWND be sent over the
channel. A change in toolkit (e.g., switching to Aura) must not change
this. As a consequence of this change, some automation types and
messages are now only defined for OS_WIN builds.
* ExternalTabContainerWin is no longer derived from a NativeWidget type
(this was previously the case so that the ETCW could be notified of NW
lifecycle events). Now, in contrast, ETCW registers itself as an
observer of its Widget. Two additional lifecycle methods have been
added to WidgetObserver: OnWidgetCreated and OnWidgetDestroyed.
* ExternalTabContianerWin initializes its Widget with an instance of
DesktopNativeWidgetAura when use_aura.
* A special note about HWND IPC marshaling: this change adds a type
mapping from HWND to a generic HANDLE in ipc_message_utils.h, which
allows for the removal of a hack in content_message_generator.h to
marshal HWNDs.
This change reverts all of:
* r178752 -- Remove CF from all.gyp targets if use_aura is defined.
* r164590 -- Remove setup -> Chrome Frame dependency. Make it possible
to build an installer for Aura.
and portions of:
* r99993 -- Get chrome to link with USE_AURA
* r99787 -- Preliminary work to allow Chrome to build with USE_AURA.
BUG= 171018
TEST=chrome_frame_tests provides good coverage in non-Aura builds.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185328
Total comments: 10
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+207 lines, -466 lines) |
Patch |
|
M |
build/all.gyp
|
View
|
1
2
|
3 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/automation/automation_provider.h
|
View
|
1
2
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/automation/automation_provider.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
chrome/browser/automation/automation_provider_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
|
M |
chrome/browser/automation/automation_provider_win.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+18 lines, -19 lines |
0 comments
|
Download
|
|
D |
chrome/browser/automation/chrome_frame_automation_provider.h
|
View
|
1
2
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
|
D |
chrome/browser/automation/chrome_frame_automation_provider.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -135 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/automation/chrome_frame_automation_provider_win.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/automation/chrome_frame_automation_provider_win.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/automation/chrome_frame_automation_provider_win_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/external_tab/external_tab_container.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/startup/startup_browser_creator.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/external_tab_container_win.h
|
View
|
1
2
3
4
5
6
|
9 chunks |
+17 lines, -28 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/external_tab_container_win.cc
|
View
|
1
2
3
4
5
6
|
22 chunks |
+97 lines, -80 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_installer.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/automation_messages.h
|
View
|
1
2
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/automation_messages_internal.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/test/automation/automation_proxy.h
|
View
|
1
2
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/test/automation/automation_proxy.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
chrome/test/automation/tab_proxy.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome_frame/test/chrome_frame_test_utils.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/common/content_message_generator.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
|
M |
ipc/ipc_message_utils.h
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/widget/native_widget_delegate.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/widget/widget.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/widget/widget_observer.h
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|