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

Unified Diff: chrome/browser/ui/cocoa/other_device_menu_cocoa.mm

Issue 11009013: NTP5: Starting implementation of a native menu for showing other device sessions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix dumb typo. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/other_device_menu_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/other_device_menu_cocoa.mm b/chrome/browser/ui/cocoa/other_device_menu_cocoa.mm
new file mode 100644
index 0000000000000000000000000000000000000000..2c53e6bf1837d66ca41f2be8bee7965502537201
--- /dev/null
+++ b/chrome/browser/ui/cocoa/other_device_menu_cocoa.mm
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 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 "chrome/browser/ui/cocoa/other_device_menu_cocoa.h"
+
+OtherDeviceMenuCocoa::OtherDeviceMenuCocoa(ui::SimpleMenuModel* menu_model)
+ : menu_model_(menu_model) {
+}
+
+OtherDeviceMenuCocoa::~OtherDeviceMenuCocoa() {
+}
+
+// TODO(jeremycho): Implement this.
+void OtherDeviceMenuCocoa::ShowMenu(gfx::NativeWindow window,
+ const gfx::Point& location) {
+}
+
+// OtherDeviceMenuController ---------------------------------------------------
+
+// static
+OtherDeviceMenu* OtherDeviceMenu::Create(ui::SimpleMenuModel* menu_model) {
+ return new OtherDeviceMenuCocoa(menu_model);
+}

Powered by Google App Engine
This is Rietveld 408576698