diff options
Diffstat (limited to 'win8/delegate_execute/command_execute_impl.cc')
-rw-r--r-- | win8/delegate_execute/command_execute_impl.cc | 6 |
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"); |