summaryrefslogtreecommitdiffstats
path: root/ash/debug.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 21:37:20 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 21:37:20 +0000
commit7f8d70ea6f2ad3fd5dafc079d519389f96263e25 (patch)
treed98811674067cbe8d11153fc45d44f1a53a2f4b0 /ash/debug.cc
parent8776526cc3928b6f46f01976342fd46198103409 (diff)
downloadchromium_src-7f8d70ea6f2ad3fd5dafc079d519389f96263e25.zip
chromium_src-7f8d70ea6f2ad3fd5dafc079d519389f96263e25.tar.gz
chromium_src-7f8d70ea6f2ad3fd5dafc079d519389f96263e25.tar.bz2
Support searching through the Windows 8 Search charm and url navigations from the Start menu in Windows 8 ASH.
Changes as below:- 1. In the metro driver we need to handle the search and protocol activation requests. Search requests when Chrome ASH is not running result in ASH being launched by Windows without going through the normal delegate execute mechanism. This means that the browser process will not be running to service the viewer ASH process. We need to launch the server via ShellExecute to ensure that it launches in desktop mode. If the search/protocol requests are received when Chrome ASH is being launched we ensure that the IPC messages to service these requests are sent out after the MetroViewerHostMsg_SetTargetSurface IPC. If Chrome ASH is running when we receive these requests we send out the search/navigation IPCs to Chrome. 2. Added the following IPC messages to metro_viewer_messages.h 1. MetroViewerHostMsg_SearchRequest 2. MetroViewerHostMsg_OpenURL The handling for these messages is implemented via virtual functions OnOpenURL and OnHandleSearchRequest in the MetroViewerProcessHost interface with the ChromeMetroViewerProcessHost overriding this to ensure that the URL is opened. 3. Added a switch kWindows8MetroSearch to chrome_switches.cc/.h. This is passed in from the metro driver on Windows 8 if we are launched to service a search request from the start screen. We don't attempt to create a browser or run the session restore code in the NOTIFICATION_ASH_SESSION_STARTED notification if this switch exists. The desired browser window for the search is created in the MetroViewerHostMsg_SearchRequest IPC. BUG=245899 R=cpu@chromium.org, jschuh@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/16282002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/debug.cc')
0 files changed, 0 insertions, 0 deletions