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

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

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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_config.h ('k') | views/controls/menu/menu_delegate.h » ('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_CONTROLLER_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_
6 #define VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 19 matching lines...) Expand all
30 class MenuHostRootView; 30 class MenuHostRootView;
31 class MouseEvent; 31 class MouseEvent;
32 class SubmenuView; 32 class SubmenuView;
33 class View; 33 class View;
34 34
35 // MenuController ------------------------------------------------------------- 35 // MenuController -------------------------------------------------------------
36 36
37 // MenuController is used internally by the various menu classes to manage 37 // MenuController is used internally by the various menu classes to manage
38 // showing, selecting and drag/drop for menus. All relevant events are 38 // showing, selecting and drag/drop for menus. All relevant events are
39 // forwarded to the MenuController from SubmenuView and MenuHost. 39 // forwarded to the MenuController from SubmenuView and MenuHost.
40 class VIEWS_API MenuController : public MessageLoop::Dispatcher { 40 class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher {
41 public: 41 public:
42 friend class MenuHostRootView; 42 friend class MenuHostRootView;
43 friend class MenuItemView; 43 friend class MenuItemView;
44 44
45 // Enumeration of how the menu should exit. 45 // Enumeration of how the menu should exit.
46 enum ExitType { 46 enum ExitType {
47 // Don't exit. 47 // Don't exit.
48 EXIT_NONE, 48 EXIT_NONE,
49 49
50 // All menus, including nested, should be exited. 50 // All menus, including nested, should be exited.
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 // If non-null mouse drag events are forwarded to this view. See 492 // If non-null mouse drag events are forwarded to this view. See
493 // UpdateActiveMouseView for details. 493 // UpdateActiveMouseView for details.
494 View* active_mouse_view_; 494 View* active_mouse_view_;
495 495
496 DISALLOW_COPY_AND_ASSIGN(MenuController); 496 DISALLOW_COPY_AND_ASSIGN(MenuController);
497 }; 497 };
498 498
499 } // namespace views 499 } // namespace views
500 500
501 #endif // VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ 501 #endif // VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_config.h ('k') | views/controls/menu/menu_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698