Index: chrome/browser/ui/gtk/other_device_menu_gtk.h |
diff --git a/chrome/browser/ui/gtk/other_device_menu_gtk.h b/chrome/browser/ui/gtk/other_device_menu_gtk.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b4d0d1de130473b0bac4ac146d39b52fb5a260f |
--- /dev/null |
+++ b/chrome/browser/ui/gtk/other_device_menu_gtk.h |
@@ -0,0 +1,32 @@ |
+// 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. |
+ |
+#ifndef CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_ |
+#define CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_ |
+ |
+#include "chrome/browser/ui/search/other_device_menu_controller.h" |
+ |
+namespace gfx{ |
+class Point; |
+} |
+ |
+namespace ui { |
+class SimpleMenuModel; |
+} |
+ |
+class OtherDeviceMenuGtk : public OtherDeviceMenu { |
+ public: |
+ explicit OtherDeviceMenuGtk(ui::SimpleMenuModel* menu_model); |
+ virtual ~OtherDeviceMenuGtk(); |
+ |
+ virtual void ShowMenu( |
+ gfx::NativeWindow window, const gfx::Point& location) OVERRIDE; |
+ |
+ private: |
+ ui::SimpleMenuModel* menu_model_; // Owned by the controller. |
+ |
+ DISALLOW_COPY_AND_ASSIGN(OtherDeviceMenuGtk); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_ |