| 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_ASH_H_ | 5 #ifndef WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ |
| 6 #define WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ | 6 #define WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 EventRegistrationToken keyup_token_; | 107 EventRegistrationToken keyup_token_; |
| 108 EventRegistrationToken character_received_token_; | 108 EventRegistrationToken character_received_token_; |
| 109 EventRegistrationToken visibility_changed_token_; | 109 EventRegistrationToken visibility_changed_token_; |
| 110 EventRegistrationToken accel_keydown_token_; | 110 EventRegistrationToken accel_keydown_token_; |
| 111 EventRegistrationToken accel_keyup_token_; | 111 EventRegistrationToken accel_keyup_token_; |
| 112 | 112 |
| 113 // Keep state about which button is currently down, if any, as PointerMoved | 113 // Keep state about which button is currently down, if any, as PointerMoved |
| 114 // events do not contain that state, but Ash's MouseEvents need it. | 114 // events do not contain that state, but Ash's MouseEvents need it. |
| 115 ui::EventFlags mouse_down_flags_; | 115 ui::EventFlags mouse_down_flags_; |
| 116 | 116 |
| 117 // Set the D3D swap chain and nothing else. |
| 117 metro_driver::Direct3DHelper direct3d_helper_; | 118 metro_driver::Direct3DHelper direct3d_helper_; |
| 118 | 119 |
| 120 // The channel to Chrome, in particular to the MetroViewerProcessHost. |
| 119 IPC::ChannelProxy* ui_channel_; | 121 IPC::ChannelProxy* ui_channel_; |
| 122 |
| 123 // The actual window behind the view surface. |
| 124 HWND core_window_hwnd_; |
| 120 }; | 125 }; |
| 121 | 126 |
| 122 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ | 127 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ |
| OLD | NEW |