| 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 27 matching lines...) Expand all Loading... |
| 38 // IViewProvider overrides. | 38 // IViewProvider overrides. |
| 39 IFACEMETHOD(Initialize)(winapp::Core::ICoreApplicationView* view); | 39 IFACEMETHOD(Initialize)(winapp::Core::ICoreApplicationView* view); |
| 40 IFACEMETHOD(SetWindow)(winui::Core::ICoreWindow* window); | 40 IFACEMETHOD(SetWindow)(winui::Core::ICoreWindow* window); |
| 41 IFACEMETHOD(Load)(HSTRING entryPoint); | 41 IFACEMETHOD(Load)(HSTRING entryPoint); |
| 42 IFACEMETHOD(Run)(); | 42 IFACEMETHOD(Run)(); |
| 43 IFACEMETHOD(Uninitialize)(); | 43 IFACEMETHOD(Uninitialize)(); |
| 44 | 44 |
| 45 static LRESULT CALLBACK CoreWindowProc(HWND window, UINT message, WPARAM wp, | 45 static LRESULT CALLBACK CoreWindowProc(HWND window, UINT message, WPARAM wp, |
| 46 LPARAM lp); | 46 LPARAM lp); |
| 47 | 47 |
| 48 HRESULT TileRequestCreateDone(winfoundtn::IAsyncOperation<bool>* async, | |
| 49 AsyncStatus status); | |
| 50 | |
| 51 bool osk_visible_notification_received() const { | 48 bool osk_visible_notification_received() const { |
| 52 return osk_visible_notification_received_; | 49 return osk_visible_notification_received_; |
| 53 } | 50 } |
| 54 | 51 |
| 55 // Displays the notification. | 52 // Displays the notification. |
| 56 void DisplayNotification( | 53 void DisplayNotification( |
| 57 const ToastNotificationHandler::DesktopNotification& notification); | 54 const ToastNotificationHandler::DesktopNotification& notification); |
| 58 | 55 |
| 59 // Cancels the notification. | 56 // Cancels the notification. |
| 60 void CancelNotification(const std::string& notification); | 57 void CancelNotification(const std::string& notification); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // to be initiated from that thread, notably spawning file pickers. | 161 // to be initiated from that thread, notably spawning file pickers. |
| 165 base::MessageLoopProxy* appview_msg_loop; | 162 base::MessageLoopProxy* appview_msg_loop; |
| 166 winapp::Core::ICoreApplicationExit* app_exit; | 163 winapp::Core::ICoreApplicationExit* app_exit; |
| 167 BreakpadExceptionHandler breakpad_exception_handler; | 164 BreakpadExceptionHandler breakpad_exception_handler; |
| 168 string16 metro_command_line_switches; | 165 string16 metro_command_line_switches; |
| 169 }; | 166 }; |
| 170 | 167 |
| 171 extern Globals globals; | 168 extern Globals globals; |
| 172 | 169 |
| 173 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ | 170 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ |
| OLD | NEW |