Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: win8/metro_driver/chrome_app_view.h

Issue 11280112: UMA for Windows 8 Secondary Tile pinning/unpinning user actions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add TODO Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/metro_pin_tab_helper_win.cc ('k') | win8/metro_driver/chrome_app_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/metro_pin_tab_helper_win.cc ('k') | win8/metro_driver/chrome_app_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698