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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
75 void OnSaveFileCompleted(SaveFilePickerSession* save_file_picker, | 75 void OnSaveFileCompleted(SaveFilePickerSession* save_file_picker, |
76 bool success); | 76 bool success); |
77 | 77 |
78 // This function is invoked when the folder picker operation completes. The | 78 // This function is invoked when the folder picker operation completes. The |
79 // result of the operation is passed in along with the FolderPickerSession | 79 // result of the operation is passed in along with the FolderPickerSession |
80 // instance which is deleted after we read the required information from | 80 // instance which is deleted after we read the required information from |
81 // the FolderPickerSession class. | 81 // the FolderPickerSession class. |
82 void OnFolderPickerCompleted(FolderPickerSession* folder_picker, | 82 void OnFolderPickerCompleted(FolderPickerSession* folder_picker, |
83 bool success); | 83 bool success); |
84 | 84 |
85 HWND core_window() const { return core_window_hwnd_; } | |
ananta
2013/11/09 02:59:23
Please rename to core_window_hwnd() or rename the
cpu_(ooo_6.6-7.5)
2013/11/09 03:08:11
Done.
| |
86 | |
85 private: | 87 private: |
86 HRESULT OnActivate(winapp::Core::ICoreApplicationView* view, | 88 HRESULT OnActivate(winapp::Core::ICoreApplicationView* view, |
87 winapp::Activation::IActivatedEventArgs* args); | 89 winapp::Activation::IActivatedEventArgs* args); |
88 | 90 |
89 HRESULT OnPointerMoved(winui::Core::ICoreWindow* sender, | 91 HRESULT OnPointerMoved(winui::Core::ICoreWindow* sender, |
90 winui::Core::IPointerEventArgs* args); | 92 winui::Core::IPointerEventArgs* args); |
91 | 93 |
92 HRESULT OnPointerPressed(winui::Core::ICoreWindow* sender, | 94 HRESULT OnPointerPressed(winui::Core::ICoreWindow* sender, |
93 winui::Core::IPointerEventArgs* args); | 95 winui::Core::IPointerEventArgs* args); |
94 | 96 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
153 IPC::ChannelProxy* ui_channel_; | 155 IPC::ChannelProxy* ui_channel_; |
154 | 156 |
155 // The actual window behind the view surface. | 157 // The actual window behind the view surface. |
156 HWND core_window_hwnd_; | 158 HWND core_window_hwnd_; |
157 | 159 |
158 // UI message loop to allow message passing into this thread. | 160 // UI message loop to allow message passing into this thread. |
159 base::MessageLoop ui_loop_; | 161 base::MessageLoop ui_loop_; |
160 }; | 162 }; |
161 | 163 |
162 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ | 164 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_ASH_H_ |
OLD | NEW |