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

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

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « printing/printing_context_win.cc ('k') | views/events/event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "views/controls/menu/native_menu_linux.h"
6
7 #include "base/logging.h"
8 #include "views/controls/menu/menu_2.h"
9 #include "views/controls/menu/menu_wrapper.h"
10
11 namespace views {
12
13 class NativeMenuAura : public MenuWrapper {
14 public:
15 explicit NativeMenuAura(Menu2* menu) {}
16 virtual ~NativeMenuAura() {}
17
18 // Overridden from MenuWrapper:
19 virtual void RunMenuAt(const gfx::Point& point, int alignment) OVERRIDE {
20 NOTIMPLEMENTED();
21 }
22
23 virtual void CancelMenu() OVERRIDE {
24 NOTIMPLEMENTED();
25 }
26
27 virtual void Rebuild() OVERRIDE {
28 NOTIMPLEMENTED();
29 }
30
31 virtual void UpdateStates() OVERRIDE {
32 NOTIMPLEMENTED();
33 }
34
35 virtual gfx::NativeMenu GetNativeMenu() const OVERRIDE {
36 NOTIMPLEMENTED();
37 return NULL;
38 }
39
40 virtual MenuWrapper::MenuAction GetMenuAction() const OVERRIDE {
41 NOTIMPLEMENTED();
42 return MENU_ACTION_NONE;
43 }
44
45 virtual void AddMenuListener(MenuListener* listener) OVERRIDE {
46 NOTIMPLEMENTED();
47 }
48
49 virtual void RemoveMenuListener(MenuListener* listener) OVERRIDE {
50 NOTIMPLEMENTED();
51 }
52
53 virtual void SetMinimumWidth(int width) OVERRIDE {
54 NOTIMPLEMENTED();
55 }
56
57 private:
58 DISALLOW_COPY_AND_ASSIGN(NativeMenuAura);
59 };
60
61 // MenuWrapper, public:
62
63 // static
64 MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
65 return new NativeMenuAura(menu);
66 }
67
68 } // namespace views
OLDNEW
« no previous file with comments | « printing/printing_context_win.cc ('k') | views/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698