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

Side by Side Diff: chrome/browser/chromeos/views/menu_locator.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/chromeos/views/menu_locator.h" 5 #include "chrome/browser/chromeos/views/menu_locator.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/chromeos/views/domui_menu_widget.h" 9 #include "chrome/browser/chromeos/views/domui_menu_widget.h"
10 #include "gfx/point.h" 10 #include "ui/gfx/insets.h"
11 #include "gfx/rect.h" 11 #include "ui/gfx/point.h"
12 #include "gfx/insets.h" 12 #include "ui/gfx/rect.h"
13 #include "views/screen.h" 13 #include "views/screen.h"
14 #include "views/widget/widget.h" 14 #include "views/widget/widget.h"
15 15
16 namespace { 16 namespace {
17 17
18 using chromeos::DOMUIMenuWidget; 18 using chromeos::DOMUIMenuWidget;
19 19
20 // Menu's corner radious. 20 // Menu's corner radious.
21 const int kMenuCornerRadius = 0; // crosbug.com/7718. 21 const int kMenuCornerRadius = 0; // crosbug.com/7718.
22 const int kSubmenuOverlapPx = 1; 22 const int kSubmenuOverlapPx = 1;
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 309 }
310 310
311 MenuLocator* MenuLocator::CreateSubMenuLocator( 311 MenuLocator* MenuLocator::CreateSubMenuLocator(
312 const DOMUIMenuWidget* parent, 312 const DOMUIMenuWidget* parent,
313 MenuLocator::SubmenuDirection parent_direction, 313 MenuLocator::SubmenuDirection parent_direction,
314 int y) { 314 int y) {
315 return new SubMenuLocator(parent, parent_direction, y); 315 return new SubMenuLocator(parent, parent_direction, y);
316 } 316 }
317 317
318 } // namespace chromeos 318 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/views/dropdown_button.cc ('k') | chrome/browser/chromeos/views/native_menu_domui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698