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

Side by Side Diff: views/controls/menu/native_menu_gtk.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | « views/controls/menu/menu_win.cc ('k') | views/controls/menu/native_menu_win.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) 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 "views/controls/menu/native_menu_gtk.h" 5 #include "views/controls/menu/native_menu_gtk.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "app/gfx/font.h"
12 #include "app/menus/menu_model.h" 11 #include "app/menus/menu_model.h"
13 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
14 #include "base/keyboard_code_conversion_gtk.h" 13 #include "base/keyboard_code_conversion_gtk.h"
15 #include "base/keyboard_codes.h" 14 #include "base/keyboard_codes.h"
16 #include "base/message_loop.h" 15 #include "base/message_loop.h"
17 #include "base/time.h" 16 #include "base/time.h"
18 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
18 #include "gfx/font.h"
19 #include "gfx/gtk_util.h" 19 #include "gfx/gtk_util.h"
20 #include "third_party/skia/include/core/SkBitmap.h" 20 #include "third_party/skia/include/core/SkBitmap.h"
21 #include "views/accelerator.h" 21 #include "views/accelerator.h"
22 #include "views/controls/menu/menu_2.h" 22 #include "views/controls/menu/menu_2.h"
23 23
24 namespace { 24 namespace {
25 25
26 const char kPositionString[] = "position"; 26 const char kPositionString[] = "position";
27 const char kAccelGroupString[] = "accel_group"; 27 const char kAccelGroupString[] = "accel_group";
28 28
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 414
415 //////////////////////////////////////////////////////////////////////////////// 415 ////////////////////////////////////////////////////////////////////////////////
416 // MenuWrapper, public: 416 // MenuWrapper, public:
417 417
418 // static 418 // static
419 MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) { 419 MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
420 return new NativeMenuGtk(menu); 420 return new NativeMenuGtk(menu);
421 } 421 }
422 422
423 } // namespace views 423 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/menu/menu_win.cc ('k') | views/controls/menu/native_menu_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698