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

Side by Side Diff: ui/views/controls/scrollbar/scroll_bar.cc

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « ui/views/controls/resize_area.cc ('k') | ui/views/controls/separator.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 #include "ui/views/controls/scrollbar/scroll_bar.h" 5 #include "ui/views/controls/scrollbar/scroll_bar.h"
6 6
7 #include "ui/accessibility/ax_enums.h"
7 #include "ui/accessibility/ax_view_state.h" 8 #include "ui/accessibility/ax_view_state.h"
8 9
9 namespace views { 10 namespace views {
10 11
11 ScrollBar::~ScrollBar() { 12 ScrollBar::~ScrollBar() {
12 } 13 }
13 14
14 void ScrollBar::GetAccessibleState(ui::AXViewState* state) { 15 void ScrollBar::GetAccessibleState(ui::AXViewState* state) {
15 state->role = ui::AX_ROLE_SCROLL_BAR; 16 state->role = ui::AX_ROLE_SCROLL_BAR;
16 } 17 }
(...skipping 24 matching lines...) Expand all
41 void ScrollBar::OnMouseExitedScrollView(const ui::MouseEvent& event) { 42 void ScrollBar::OnMouseExitedScrollView(const ui::MouseEvent& event) {
42 } 43 }
43 44
44 ScrollBar::ScrollBar(bool is_horiz) 45 ScrollBar::ScrollBar(bool is_horiz)
45 : is_horiz_(is_horiz), 46 : is_horiz_(is_horiz),
46 controller_(NULL), 47 controller_(NULL),
47 max_pos_(0) { 48 max_pos_(0) {
48 } 49 }
49 50
50 } // namespace views 51 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/resize_area.cc ('k') | ui/views/controls/separator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698