diff options
Diffstat (limited to 'win8/metro_driver/chrome_app_view_ash.h')
-rw-r--r-- | win8/metro_driver/chrome_app_view_ash.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win8/metro_driver/chrome_app_view_ash.h b/win8/metro_driver/chrome_app_view_ash.h index d347205..5de9f67 100644 --- a/win8/metro_driver/chrome_app_view_ash.h +++ b/win8/metro_driver/chrome_app_view_ash.h @@ -45,6 +45,11 @@ class FilePickerSessionBase; struct MetroViewerHostMsg_SaveAsDialogParams; +enum MetroTerminateMethod { + TERMINATE_USING_KEY_SEQUENCE = 1, + TERMINATE_USING_PROCESS_EXIT = 2, +}; + class ChromeAppViewAsh : public mswr::RuntimeClass<winapp::Core::IFrameworkView>, public metro_driver::ImePopupObserver, @@ -104,6 +109,8 @@ class ChromeAppViewAsh const std::vector<int32>& input_scopes, const std::vector<metro_viewer::CharacterBounds>& character_bounds); + void OnMetroExit(MetroTerminateMethod method); + HWND core_window_hwnd() const { return core_window_hwnd_; } |