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

Side by Side Diff: chrome/views/button_dropdown.h

Issue 20112: Cleanup forward declared classes that are not needed. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/views/button.h ('k') | chrome/views/dialog_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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_BUTTON_DROPDOWN_H__ 5 #ifndef CHROME_VIEWS_BUTTON_DROPDOWN_H__
6 #define CHROME_VIEWS_BUTTON_DROPDOWN_H__ 6 #define CHROME_VIEWS_BUTTON_DROPDOWN_H__
7 7
8 #include "base/task.h" 8 #include "base/task.h"
9 #include "chrome/views/button.h" 9 #include "chrome/views/button.h"
10 #include "chrome/views/menu.h" 10 #include "chrome/views/menu.h"
11 11
12 class Timer;
13
14 namespace views { 12 namespace views {
15 13
16 //////////////////////////////////////////////////////////////////////////////// 14 ////////////////////////////////////////////////////////////////////////////////
17 // 15 //
18 // ButtonDropDown 16 // ButtonDropDown
19 // 17 //
20 // A button class that when pressed (and held) or pressed (and drag down) will 18 // A button class that when pressed (and held) or pressed (and drag down) will
21 // display a menu 19 // display a menu
22 // 20 //
23 //////////////////////////////////////////////////////////////////////////////// 21 ////////////////////////////////////////////////////////////////////////////////
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 57
60 // Specifies who to delegate populating the menu 58 // Specifies who to delegate populating the menu
61 Menu::Delegate* menu_delegate_; 59 Menu::Delegate* menu_delegate_;
62 60
63 // Y position of mouse when left mouse button is pressed 61 // Y position of mouse when left mouse button is pressed
64 int y_position_on_lbuttondown_; 62 int y_position_on_lbuttondown_;
65 63
66 // A factory for tasks that show the dropdown context menu for the button. 64 // A factory for tasks that show the dropdown context menu for the button.
67 ScopedRunnableMethodFactory<ButtonDropDown> show_menu_factory_; 65 ScopedRunnableMethodFactory<ButtonDropDown> show_menu_factory_;
68 66
69 DISALLOW_EVIL_CONSTRUCTORS(ButtonDropDown); 67 DISALLOW_COPY_AND_ASSIGN(ButtonDropDown);
70 }; 68 };
71 69
72 } // namespace views 70 } // namespace views
73 71
74 #endif // CHROME_VIEWS_BUTTON_DROPDOWN_H__ 72 #endif // CHROME_VIEWS_BUTTON_DROPDOWN_H__
75
OLDNEW
« no previous file with comments | « chrome/views/button.h ('k') | chrome/views/dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698