OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ | 5 #ifndef WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ |
6 #define WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ | 6 #define WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ |
7 | 7 |
8 #include <windows.applicationmodel.core.h> | 8 #include <windows.applicationmodel.core.h> |
9 #include <windows.ui.core.h> | 9 #include <windows.ui.core.h> |
10 #include <windows.ui.input.h> | 10 #include <windows.ui.input.h> |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 HANDLE host_thread; | 155 HANDLE host_thread; |
156 ChromeAppView* view; | 156 ChromeAppView* view; |
157 WNDPROC g_core_proc; | 157 WNDPROC g_core_proc; |
158 base::string16 navigation_url; | 158 base::string16 navigation_url; |
159 base::string16 search_string; | 159 base::string16 search_string; |
160 winapp::Activation::ApplicationExecutionState previous_state; | 160 winapp::Activation::ApplicationExecutionState previous_state; |
161 winapp::Activation::ActivationKind initial_activation_kind; | 161 winapp::Activation::ActivationKind initial_activation_kind; |
162 bool is_initial_activation; | 162 bool is_initial_activation; |
163 // This message loop lives in the app view's thread. Some operations have | 163 // This message loop lives in the app view's thread. Some operations have |
164 // to be initiated from that thread, notably spawning file pickers. | 164 // to be initiated from that thread, notably spawning file pickers. |
165 base::MessageLoopProxy* appview_msg_loop; | 165 base::SingleThreadTaskRunner* appview_task_runner; |
166 winapp::Core::ICoreApplicationExit* app_exit; | 166 winapp::Core::ICoreApplicationExit* app_exit; |
167 base::string16 metro_command_line_switches; | 167 base::string16 metro_command_line_switches; |
168 }; | 168 }; |
169 | 169 |
170 extern Globals globals; | 170 extern Globals globals; |
171 | 171 |
172 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ | 172 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ |
OLD | NEW |