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

Side by Side Diff: win8/metro_driver/toast_notification_handler.cc

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « win8/metro_driver/secondary_tile.cc ('k') | no next file » | 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 #include <string> 5 #include <string>
6 6
7 #include "win8/metro_driver/stdafx.h" 7 #include "win8/metro_driver/stdafx.h"
8 #include "win8/metro_driver/toast_notification_handler.h" 8 #include "win8/metro_driver/toast_notification_handler.h"
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 // TODO(ananta) 14 // TODO(ananta)
15 // Refactor the chrome_util and shell_util code from chrome into a common lib 15 // Refactor the chrome_util and shell_util code from chrome into a common lib
16 #include "win8/delegate_execute/chrome_util.h" 16 #include "win8/delegate_execute/chrome_util.h"
17 #include "win8/metro_driver/winrt_utils.h" 17 #include "win8/metro_driver/winrt_utils.h"
18 18
19 typedef winfoundtn::ITypedEventHandler< 19 typedef winfoundtn::ITypedEventHandler<
20 winui::Notifications::ToastNotification*, IInspectable*> 20 winui::Notifications::ToastNotification*, IInspectable*>
21 ToastActivationHandler; 21 ToastActivationHandler;
22 22
23 typedef winfoundtn::ITypedEventHandler< 23 typedef winfoundtn::ITypedEventHandler<
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // etc to ChromeAppView which would enable it to ensure that the 240 // etc to ChromeAppView which would enable it to ensure that the
241 // correct tab in chrome is activated. 241 // correct tab in chrome is activated.
242 DVLOG(1) << __FUNCTION__; 242 DVLOG(1) << __FUNCTION__;
243 243
244 if (notification_info_.notification_handler) { 244 if (notification_info_.notification_handler) {
245 notification_info_.notification_handler( 245 notification_info_.notification_handler(
246 notification_info_.notification_context.c_str()); 246 notification_info_.notification_context.c_str());
247 } 247 }
248 return S_OK; 248 return S_OK;
249 } 249 }
OLDNEW
« no previous file with comments | « win8/metro_driver/secondary_tile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698