| Index: chrome/browser/ui/views/other_device_menu_views.h
|
| diff --git a/chrome/browser/ui/views/other_device_menu_views.h b/chrome/browser/ui/views/other_device_menu_views.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72ea36a41c2b94cca9bef0838b1826f93b147841
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/other_device_menu_views.h
|
| @@ -0,0 +1,40 @@
|
| +// 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_VIEWS_OTHER_DEVICE_MENU_VIEWS_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_OTHER_DEVICE_MENU_VIEWS_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "chrome/browser/ui/search/other_device_menu_controller.h"
|
| +
|
| +namespace gfx {
|
| +class Point;
|
| +}
|
| +
|
| +namespace ui {
|
| +class SimpleMenuModel;
|
| +}
|
| +
|
| +namespace views {
|
| +class MenuRunner;
|
| +}
|
| +
|
| +class OtherDeviceMenuViews : public OtherDeviceMenu {
|
| + public:
|
| + explicit OtherDeviceMenuViews(ui::SimpleMenuModel* menu_model);
|
| + virtual ~OtherDeviceMenuViews();
|
| +
|
| + virtual void ShowMenu(gfx::NativeWindow window,
|
| + const gfx::Point& location) OVERRIDE;
|
| +
|
| + private:
|
| + ui::SimpleMenuModel* menu_model_; // Owned by OtherDeviceMenuController.
|
| + scoped_ptr<views::MenuRunner> menu_runner_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(OtherDeviceMenuViews);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_OTHER_DEVICE_MENU_VIEWS_H_
|
|
|