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

Side by Side Diff: chrome/browser/ui/gtk/other_device_menu_gtk.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: Respond to tfarina's comments. Created 8 years, 1 month 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_GTK_OTHER_DEVICE_MENU_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/search/other_device_menu_controller.h"
11
12 namespace gfx {
13 class Point;
14 }
15
16 namespace ui {
17 class SimpleMenuModel;
18 }
19
20 class OtherDeviceMenuGtk : public OtherDeviceMenu {
21 public:
22 explicit OtherDeviceMenuGtk(ui::SimpleMenuModel* menu_model);
23 virtual ~OtherDeviceMenuGtk();
24
25 virtual void ShowMenu(gfx::NativeWindow window,
26 const gfx::Point& location) OVERRIDE;
27
28 private:
29 ui::SimpleMenuModel* menu_model_; // Owned by OtherDeviceMenuController.
30
31 DISALLOW_COPY_AND_ASSIGN(OtherDeviceMenuGtk);
32 };
33
34 #endif // CHROME_BROWSER_UI_GTK_OTHER_DEVICE_MENU_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/other_device_menu_cocoa.mm ('k') | chrome/browser/ui/gtk/other_device_menu_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698