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

Side by Side Diff: views/controls/menu/menu_host_win.h

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
« no previous file with comments | « views/controls/menu/menu_host_gtk.cc ('k') | views/controls/menu/menu_host_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_
6 #define VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/controls/menu/native_menu_host.h" 9 #include "views/controls/menu/native_menu_host.h"
10 #include "views/widget/widget_win.h" 10 #include "views/widget/widget_win.h"
(...skipping 11 matching lines...) Expand all
22 virtual ~MenuHostWin(); 22 virtual ~MenuHostWin();
23 23
24 private: 24 private:
25 // Overridden from NativeMenuHost: 25 // Overridden from NativeMenuHost:
26 virtual void StartCapturing() OVERRIDE; 26 virtual void StartCapturing() OVERRIDE;
27 virtual NativeWidget* AsNativeWidget() OVERRIDE; 27 virtual NativeWidget* AsNativeWidget() OVERRIDE;
28 28
29 // Overridden from WidgetWin: 29 // Overridden from WidgetWin:
30 virtual void OnDestroy() OVERRIDE; 30 virtual void OnDestroy() OVERRIDE;
31 virtual void OnCancelMode() OVERRIDE; 31 virtual void OnCancelMode() OVERRIDE;
32 virtual RootView* CreateRootView() OVERRIDE;
33 virtual bool ShouldReleaseCaptureOnMouseReleased() const OVERRIDE;
34 32
35 scoped_ptr<internal::NativeMenuHostDelegate> delegate_; 33 internal::NativeMenuHostDelegate* delegate_;
36 34
37 DISALLOW_COPY_AND_ASSIGN(MenuHostWin); 35 DISALLOW_COPY_AND_ASSIGN(MenuHostWin);
38 }; 36 };
39 37
40 } // namespace views 38 } // namespace views
41 39
42 #endif // VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ 40 #endif // VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_host_gtk.cc ('k') | views/controls/menu/menu_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698