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

Side by Side Diff: views/controls/scrollbar/native_scroll_bar.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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 "views/controls/scrollbar/native_scroll_bar.h" 5 #include "views/controls/scrollbar/native_scroll_bar.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "ui/views/widget/widget.h"
11 #include "views/controls/scrollbar/native_scroll_bar_wrapper.h" 12 #include "views/controls/scrollbar/native_scroll_bar_wrapper.h"
12 #include "views/widget/widget.h"
13 13
14 #if defined(USE_AURA) 14 #if defined(USE_AURA)
15 #include "views/controls/scrollbar/native_scroll_bar_views.h" 15 #include "views/controls/scrollbar/native_scroll_bar_views.h"
16 #endif 16 #endif
17 17
18 namespace views { 18 namespace views {
19 19
20 // static 20 // static
21 const char NativeScrollBar::kViewClassName[] = "views/NativeScrollBar"; 21 const char NativeScrollBar::kViewClassName[] = "views/NativeScrollBar";
22 22
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 int NativeScrollBar::GetPosition() const { 98 int NativeScrollBar::GetPosition() const {
99 if (!native_wrapper_) 99 if (!native_wrapper_)
100 return 0; 100 return 0;
101 return native_wrapper_->GetPosition(); 101 return native_wrapper_->GetPosition();
102 } 102 }
103 103
104 } // namespace views 104 } // namespace views
105 105
OLDNEW
« no previous file with comments | « views/controls/scrollbar/bitmap_scroll_bar.cc ('k') | views/controls/scrollbar/native_scroll_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698