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

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

Issue 119733002: Add base:: to string16s in win8/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 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 | Annotate | Revision Log
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 struct Globals { 148 struct Globals {
149 LPTHREAD_START_ROUTINE host_main; 149 LPTHREAD_START_ROUTINE host_main;
150 void* host_context; 150 void* host_context;
151 // The pair below contains the HWND and a bool which indicates whether the 151 // The pair below contains the HWND and a bool which indicates whether the
152 // window was displaced to ensure that the focused region is visible when 152 // window was displaced to ensure that the focused region is visible when
153 // the OSK is displayed. 153 // the OSK is displayed.
154 std::list<std::pair<HWND, bool> > host_windows; 154 std::list<std::pair<HWND, bool> > host_windows;
155 HANDLE host_thread; 155 HANDLE host_thread;
156 ChromeAppView* view; 156 ChromeAppView* view;
157 WNDPROC g_core_proc; 157 WNDPROC g_core_proc;
158 string16 navigation_url; 158 base::string16 navigation_url;
159 string16 search_string; 159 base::string16 search_string;
160 winapp::Activation::ApplicationExecutionState previous_state; 160 winapp::Activation::ApplicationExecutionState previous_state;
161 winapp::Activation::ActivationKind initial_activation_kind; 161 winapp::Activation::ActivationKind initial_activation_kind;
162 bool is_initial_activation; 162 bool is_initial_activation;
163 // This message loop lives in the app view's thread. Some operations have 163 // This message loop lives in the app view's thread. Some operations have
164 // to be initiated from that thread, notably spawning file pickers. 164 // to be initiated from that thread, notably spawning file pickers.
165 base::MessageLoopProxy* appview_msg_loop; 165 base::MessageLoopProxy* appview_msg_loop;
166 winapp::Core::ICoreApplicationExit* app_exit; 166 winapp::Core::ICoreApplicationExit* app_exit;
167 string16 metro_command_line_switches; 167 base::string16 metro_command_line_switches;
168 }; 168 };
169 169
170 extern Globals globals; 170 extern Globals globals;
171 171
172 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_ 172 #endif // WIN8_METRO_DRIVER_CHROME_APP_VIEW_H_
OLDNEW
« no previous file with comments | « win8/delegate_execute/delegate_execute_util_unittest.cc ('k') | win8/metro_driver/chrome_app_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698