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

Unified Diff: chrome/browser/ui/gtk/other_device_menu_views_gtk.cc

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: Respond to comments. 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/gtk/other_device_menu_views_gtk.cc
diff --git a/chrome/browser/ui/gtk/other_device_menu_views_gtk.cc b/chrome/browser/ui/gtk/other_device_menu_views_gtk.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e2d3da6309ec9a37cf0a56b10a0e38c11bfa5bf8
--- /dev/null
+++ b/chrome/browser/ui/gtk/other_device_menu_views_gtk.cc
@@ -0,0 +1,25 @@
+// 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/gtk/other_device_menu_views_gtk.h"
+
+OtherDeviceMenuViews::OtherDeviceMenuViews(ui::SimpleMenuModel* menu_model)
+ : menu_model_(menu_model) {
+}
+
+OtherDeviceMenuViews::~OtherDeviceMenuViews() {
+}
+
+// TODO(jeremycho): Implement this.
+void OtherDeviceMenuViews::ShowMenu(gfx::NativeWindow window,
Evan Stade 2012/10/24 22:51:34 this class should be named OtherDeviceMenuGtk "Vi
jeremycho 2012/10/24 23:54:41 Done.
+ const gfx::Point& location) {
Evan Stade 2012/10/24 22:51:34 wrong indent
jeremycho 2012/10/24 23:54:41 Done.
+}
+
+// OtherDeviceMenuController ---------------------------------------------------
+
+// static
+OtherDeviceMenu* OtherDeviceMenu::Create(
+ ui::SimpleMenuModel* menu_model) {
+ return new OtherDeviceMenuViews(menu_model);
+}

Powered by Google App Engine
This is Rietveld 408576698