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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/printing_context_win.cc ('k') | views/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/native_menu_aura.cc
===================================================================
--- views/controls/menu/native_menu_aura.cc (revision 0)
+++ views/controls/menu/native_menu_aura.cc (revision 0)
@@ -0,0 +1,68 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "views/controls/menu/native_menu_linux.h"
+
+#include "base/logging.h"
+#include "views/controls/menu/menu_2.h"
+#include "views/controls/menu/menu_wrapper.h"
+
+namespace views {
+
+class NativeMenuAura : public MenuWrapper {
+public:
+ explicit NativeMenuAura(Menu2* menu) {}
+ virtual ~NativeMenuAura() {}
+
+ // Overridden from MenuWrapper:
+ virtual void RunMenuAt(const gfx::Point& point, int alignment) OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ virtual void CancelMenu() OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ virtual void Rebuild() OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ virtual void UpdateStates() OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ virtual gfx::NativeMenu GetNativeMenu() const OVERRIDE {
+ NOTIMPLEMENTED();
+ return NULL;
+ }
+
+ virtual MenuWrapper::MenuAction GetMenuAction() const OVERRIDE {
+ NOTIMPLEMENTED();
+ return MENU_ACTION_NONE;
+ }
+
+ virtual void AddMenuListener(MenuListener* listener) OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ virtual void RemoveMenuListener(MenuListener* listener) OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ virtual void SetMinimumWidth(int width) OVERRIDE {
+ NOTIMPLEMENTED();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NativeMenuAura);
+};
+
+// MenuWrapper, public:
+
+// static
+MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
+ return new NativeMenuAura(menu);
+}
+
+} // namespace views
Property changes on: views\controls\menu\native_menu_aura.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« 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