summaryrefslogtreecommitdiffstats
path: root/win8/delegate_execute/command_execute_impl.cc
diff options
context:
space:
mode:
authorscottmg@google.com <scottmg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-01 21:25:12 +0000
committerscottmg@google.com <scottmg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-01 21:25:12 +0000
commit56deedeafb9d4880280e33a4d35e769a4c119cf2 (patch)
tree54fc3c6b34e33dc4ade1c11c3355d39e52b1563c /win8/delegate_execute/command_execute_impl.cc
parent9d68072cff1c7d2e94ea2d35026f5cdd0736a3de (diff)
downloadchromium_src-56deedeafb9d4880280e33a4d35e769a4c119cf2.zip
chromium_src-56deedeafb9d4880280e33a4d35e769a4c119cf2.tar.gz
chromium_src-56deedeafb9d4880280e33a4d35e769a4c119cf2.tar.bz2
Listen in the browser for a connection from a metro viewer process.
Render to the surface it provides to us. BUG=151718 Review URL: https://codereview.chromium.org/10984007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/delegate_execute/command_execute_impl.cc')
-rw-r--r--win8/delegate_execute/command_execute_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc
index 4f57a82..05308a0 100644
--- a/win8/delegate_execute/command_execute_impl.cc
+++ b/win8/delegate_execute/command_execute_impl.cc
@@ -138,6 +138,12 @@ STDMETHODIMP CommandExecuteImpl::GetValue(enum AHE_TYPE* pahe) {
return S_OK;
}
+ if (GetAsyncKeyState(VK_SHIFT) && GetAsyncKeyState(VK_F11)) {
+ AtlTrace("Using Shift-F11 debug hook, returning AHE_IMMERSIVE\n");
+ *pahe = AHE_IMMERSIVE;
+ return S_OK;
+ }
+
FilePath user_data_dir;
if (!PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)) {
AtlTrace("Failed to get chrome's data dir path, E_FAIL\n");