OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_ |
| 7 |
| 8 #include "chrome/browser/ui/search/other_device_menu_controller.h" |
| 9 |
| 10 namespace gfx{ |
| 11 class Point; |
| 12 } |
| 13 |
| 14 namespace ui { |
| 15 class SimpleMenuModel; |
| 16 } |
| 17 |
| 18 class OtherDeviceMenuGtk : public OtherDeviceMenu { |
| 19 public: |
| 20 explicit OtherDeviceMenuGtk(ui::SimpleMenuModel* menu_model); |
| 21 virtual ~OtherDeviceMenuGtk(); |
| 22 |
| 23 virtual void ShowMenu( |
| 24 gfx::NativeWindow window, const gfx::Point& location) OVERRIDE; |
| 25 |
| 26 private: |
| 27 ui::SimpleMenuModel* menu_model_; // Owned by the controller. |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(OtherDeviceMenuGtk); |
| 30 }; |
| 31 |
| 32 #endif // CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_ |
OLD | NEW |