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

Side by Side Diff: views/controls/menu/menu_host_root_view.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_host.cc ('k') | views/controls/menu/native_menu_gtk.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_ROOT_VIEW_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_
6 #define VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/widget/root_view.h" 9 #include "ui/views/widget/root_view.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 class MenuController; 13 class MenuController;
14 class SubmenuView; 14 class SubmenuView;
15 15
16 // MenuHostRootView is the RootView of the window showing the menu. 16 // MenuHostRootView is the RootView of the window showing the menu.
17 // SubmenuView's scroll view is added as a child of MenuHostRootView. 17 // SubmenuView's scroll view is added as a child of MenuHostRootView.
18 // MenuHostRootView forwards relevant events to the MenuController. 18 // MenuHostRootView forwards relevant events to the MenuController.
19 // 19 //
(...skipping 21 matching lines...) Expand all
41 41
42 // Whether mouse dragged/released should be forwarded to the MenuController. 42 // Whether mouse dragged/released should be forwarded to the MenuController.
43 bool forward_drag_to_menu_controller_; 43 bool forward_drag_to_menu_controller_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(MenuHostRootView); 45 DISALLOW_COPY_AND_ASSIGN(MenuHostRootView);
46 }; 46 };
47 47
48 } // namespace views 48 } // namespace views
49 49
50 #endif // VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_ 50 #endif // VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_host.cc ('k') | views/controls/menu/native_menu_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698