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

Side by Side Diff: ui/views/controls/scrollbar/base_scroll_bar_button.h

Issue 1915363002: Rename gfx::Display/Screen to display::Display/Screen in views/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanups Created 4 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
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 UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_
6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_
7 7
8 #include "ui/views/controls/button/custom_button.h" 8 #include "ui/views/controls/button/custom_button.h"
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "ui/views/repeat_controller.h" 12 #include "ui/views/repeat_controller.h"
13 13
14 #if defined(OS_LINUX)
15 #include "ui/gfx/screen.h"
16 #endif
17
18 namespace views { 14 namespace views {
19 15
20 /////////////////////////////////////////////////////////////////////////////// 16 ///////////////////////////////////////////////////////////////////////////////
21 // 17 //
22 // ScrollBarButton 18 // ScrollBarButton
23 // 19 //
24 // A button that activates on mouse pressed rather than released, and that 20 // A button that activates on mouse pressed rather than released, and that
25 // continues to fire the clicked action as the mouse button remains pressed 21 // continues to fire the clicked action as the mouse button remains pressed
26 // down on the button. 22 // down on the button.
27 // 23 //
(...skipping 14 matching lines...) Expand all
42 // The repeat controller that we use to repeatedly click the button when the 38 // The repeat controller that we use to repeatedly click the button when the
43 // mouse button is down. 39 // mouse button is down.
44 RepeatController repeater_; 40 RepeatController repeater_;
45 41
46 DISALLOW_COPY_AND_ASSIGN(BaseScrollBarButton); 42 DISALLOW_COPY_AND_ASSIGN(BaseScrollBarButton);
47 }; 43 };
48 44
49 } // namespace views 45 } // namespace views
50 46
51 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ 47 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_
OLDNEW
« no previous file with comments | « ui/views/controls/scrollbar/base_scroll_bar.cc ('k') | ui/views/controls/scrollbar/base_scroll_bar_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698