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

Side by Side Diff: ui/views/view.cc

Issue 117983002: Prefix string16 with base:: in ui/. (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
« no previous file with comments | « ui/views/view.h ('k') | ui/views/view_unittest.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 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first. 5 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first.
6 6
7 #include "ui/views/view.h" 7 #include "ui/views/view.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cmath> 10 #include <cmath>
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 FocusTraversable* View::GetFocusTraversable() { 1245 FocusTraversable* View::GetFocusTraversable() {
1246 return NULL; 1246 return NULL;
1247 } 1247 }
1248 1248
1249 FocusTraversable* View::GetPaneFocusTraversable() { 1249 FocusTraversable* View::GetPaneFocusTraversable() {
1250 return NULL; 1250 return NULL;
1251 } 1251 }
1252 1252
1253 // Tooltips -------------------------------------------------------------------- 1253 // Tooltips --------------------------------------------------------------------
1254 1254
1255 bool View::GetTooltipText(const gfx::Point& p, string16* tooltip) const { 1255 bool View::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const {
1256 return false; 1256 return false;
1257 } 1257 }
1258 1258
1259 bool View::GetTooltipTextOrigin(const gfx::Point& p, gfx::Point* loc) const { 1259 bool View::GetTooltipTextOrigin(const gfx::Point& p, gfx::Point* loc) const {
1260 return false; 1260 return false;
1261 } 1261 }
1262 1262
1263 // Context menus --------------------------------------------------------------- 1263 // Context menus ---------------------------------------------------------------
1264 1264
1265 void View::ShowContextMenu(const gfx::Point& p, 1265 void View::ShowContextMenu(const gfx::Point& p,
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2395 // Message the RootView to do the drag and drop. That way if we're removed 2395 // Message the RootView to do the drag and drop. That way if we're removed
2396 // the RootView can detect it and avoid calling us back. 2396 // the RootView can detect it and avoid calling us back.
2397 gfx::Point widget_location(event.location()); 2397 gfx::Point widget_location(event.location());
2398 ConvertPointToWidget(this, &widget_location); 2398 ConvertPointToWidget(this, &widget_location);
2399 widget->RunShellDrag(this, data, widget_location, drag_operations, source); 2399 widget->RunShellDrag(this, data, widget_location, drag_operations, source);
2400 // WARNING: we may have been deleted. 2400 // WARNING: we may have been deleted.
2401 return true; 2401 return true;
2402 } 2402 }
2403 2403
2404 } // namespace views 2404 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/view.h ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698