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

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

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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_separator_win.cc ('k') | views/controls/native_control.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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // 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 <string> 7 #include <string>
8 8
9 #include "base/gfx/gtk_util.h" 9 #include "app/gfx/gtk_util.h"
10 #include "base/keyboard_codes.h" 10 #include "base/keyboard_codes.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "views/accelerator.h" 14 #include "views/accelerator.h"
15 #include "views/controls/menu/menu_2.h" 15 #include "views/controls/menu/menu_2.h"
16 16
17 namespace { 17 namespace {
18 // Data passed to the UpdateStateCallback from gtk_container_foreach. 18 // Data passed to the UpdateStateCallback from gtk_container_foreach.
19 struct UpdateStateData { 19 struct UpdateStateData {
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 //////////////////////////////////////////////////////////////////////////////// 238 ////////////////////////////////////////////////////////////////////////////////
239 // MenuWrapper, public: 239 // MenuWrapper, public:
240 240
241 // static 241 // static
242 MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) { 242 MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
243 return new NativeMenuGtk(menu->model()); 243 return new NativeMenuGtk(menu->model());
244 } 244 }
245 245
246 } // namespace views 246 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/menu/menu_separator_win.cc ('k') | views/controls/native_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698