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

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

Issue 8687031: views: Move the remaining files to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
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/native_scroll_bar_views.h" 5 #include "ui/views/controls/scrollbar/native_scroll_bar_views.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/keycodes/keyboard_codes.h" 8 #include "ui/base/keycodes/keyboard_codes.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/canvas_skia.h" 10 #include "ui/gfx/canvas_skia.h"
11 #include "ui/gfx/path.h" 11 #include "ui/gfx/path.h"
12 #include "ui/views/controls/button/custom_button.h" 12 #include "ui/views/controls/button/custom_button.h"
13 #include "ui/views/controls/focusable_border.h"
13 #include "ui/views/controls/scrollbar/base_scroll_bar_button.h" 14 #include "ui/views/controls/scrollbar/base_scroll_bar_button.h"
14 #include "ui/views/controls/scrollbar/base_scroll_bar_thumb.h" 15 #include "ui/views/controls/scrollbar/base_scroll_bar_thumb.h"
15 #include "ui/views/controls/scrollbar/native_scroll_bar.h" 16 #include "ui/views/controls/scrollbar/native_scroll_bar.h"
16 #include "ui/views/controls/scrollbar/scroll_bar.h" 17 #include "ui/views/controls/scrollbar/scroll_bar.h"
17 #include "views/controls/focusable_border.h"
18 18
19 namespace views { 19 namespace views {
20 20
21 namespace { 21 namespace {
22 22
23 // Wrapper for the scroll buttons. 23 // Wrapper for the scroll buttons.
24 class ScrollBarButton : public BaseScrollBarButton { 24 class ScrollBarButton : public BaseScrollBarButton {
25 public: 25 public:
26 enum Type { 26 enum Type {
27 UP, 27 UP,
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 return 20; 402 return 20;
403 } 403 }
404 404
405 // static 405 // static
406 int NativeScrollBarWrapper::GetVerticalScrollBarWidth() { 406 int NativeScrollBarWrapper::GetVerticalScrollBarWidth() {
407 return 20; 407 return 20;
408 } 408 }
409 #endif 409 #endif
410 410
411 } // namespace views 411 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar_gtk.h ('k') | ui/views/controls/scrollbar/native_scroll_bar_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698