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

Side by Side Diff: chrome/browser/ui/views/other_device_menu_view.h

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: Typo fix. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_VIEWS_OTHER_DEVICE_MENU_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_OTHER_DEVICE_MENU_VIEW_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/search/other_device_menu_controller.h"
10
11 namespace gfx{
12 class Point;
13 }
14
15 namespace ui {
16 class SimpleMenuModel;
17 }
18
19 namespace views {
20 class MenuRunner;
21 }
22
23 class OtherDeviceMenuView : public OtherDeviceMenu {
Evan Stade 2012/10/24 00:49:07 nit: I would call this OtherDeviceMenuViews
jeremycho 2012/10/24 01:32:29 Done.
24 public:
25 explicit OtherDeviceMenuView(ui::SimpleMenuModel* menu_model);
26 virtual ~OtherDeviceMenuView();
27
28 virtual void ShowMenu(
29 gfx::NativeWindow window, const gfx::Point& location) OVERRIDE;
30
31
32 private:
33 ui::SimpleMenuModel* menu_model_; // Owned by the controller.
34 scoped_ptr<views::MenuRunner> menu_runner_;
35
36 DISALLOW_COPY_AND_ASSIGN(OtherDeviceMenuView);
37 };
38
39 #endif // CHROME_BROWSER_UI_VIEWS_OTHER_DEVICE_MENU_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/other_device_menu_controller.cc ('k') | chrome/browser/ui/views/other_device_menu_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698