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_COCOA_OTHER_DEVICE_MENU_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_OTHER_DEVICE_MENU_COCOA_H_ |
| 7 |
| 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" |
| 12 #include "chrome/browser/ui/search/other_device_menu_controller.h" |
| 13 |
| 14 namespace gfx { |
| 15 class Point; |
| 16 } |
| 17 |
| 18 namespace ui { |
| 19 class SimpleMenuModel; |
| 20 } |
| 21 |
| 22 class OtherDeviceMenuCocoa : public OtherDeviceMenu { |
| 23 public: |
| 24 explicit OtherDeviceMenuCocoa(ui::SimpleMenuModel* menu_model); |
| 25 virtual ~OtherDeviceMenuCocoa(); |
| 26 |
| 27 virtual void ShowMenu(gfx::NativeWindow window, |
| 28 const gfx::Point& location) OVERRIDE; |
| 29 |
| 30 private: |
| 31 ui::SimpleMenuModel* menu_model_; // Owned by OtherDeviceMenuController. |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(OtherDeviceMenuCocoa); |
| 34 }; |
| 35 |
| 36 #endif // CHROME_BROWSER_UI_COCOA_OTHER_DEVICE_MENU_COCOA_H_ |
OLD | NEW |