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

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

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 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
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/controls/menu/menu_host.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_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_H_
6 #define VIEWS_CONTROLS_MENU_MENU_HOST_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 #include "ui/views/widget/widget.h"
11 #include "views/controls/menu/native_menu_host_delegate.h" 12 #include "views/controls/menu/native_menu_host_delegate.h"
12 #include "views/widget/widget.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 class NativeWidget; 16 class NativeWidget;
17 class SubmenuView; 17 class SubmenuView;
18 class View; 18 class View;
19 class Widget; 19 class Widget;
20 20
21 // SubmenuView uses a MenuHost to house the SubmenuView. 21 // SubmenuView uses a MenuHost to house the SubmenuView.
22 // 22 //
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // If true and capture is lost we don't notify the delegate. 71 // If true and capture is lost we don't notify the delegate.
72 bool ignore_capture_lost_; 72 bool ignore_capture_lost_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(MenuHost); 74 DISALLOW_COPY_AND_ASSIGN(MenuHost);
75 }; 75 };
76 76
77 } // namespace views 77 } // namespace views
78 78
79 #endif // VIEWS_CONTROLS_MENU_MENU_HOST_H_ 79 #endif // VIEWS_CONTROLS_MENU_MENU_HOST_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/controls/menu/menu_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698