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

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

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | « ui/views/controls/scrollbar/native_scroll_bar.cc ('k') | ui/views/controls/slider.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_win.h" 5 #include "ui/views/controls/scrollbar/native_scroll_bar_win.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/base/event.h" 11 #include "ui/base/events/event.h"
12 #include "ui/base/keycodes/keyboard_codes.h" 12 #include "ui/base/keycodes/keyboard_codes.h"
13 #include "ui/base/win/hwnd_util.h" 13 #include "ui/base/win/hwnd_util.h"
14 #include "ui/base/win/window_impl.h" 14 #include "ui/base/win/window_impl.h"
15 #include "ui/views/controls/scrollbar/native_scroll_bar.h" 15 #include "ui/views/controls/scrollbar/native_scroll_bar.h"
16 #include "ui/views/controls/scrollbar/scroll_bar.h" 16 #include "ui/views/controls/scrollbar/scroll_bar.h"
17 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
18 18
19 namespace views { 19 namespace views {
20 20
21 ///////////////////////////////////////////////////////////////////////////// 21 /////////////////////////////////////////////////////////////////////////////
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 int NativeScrollBarWrapper::GetHorizontalScrollBarHeight() { 341 int NativeScrollBarWrapper::GetHorizontalScrollBarHeight() {
342 return GetSystemMetrics(SM_CYHSCROLL); 342 return GetSystemMetrics(SM_CYHSCROLL);
343 } 343 }
344 344
345 // static 345 // static
346 int NativeScrollBarWrapper::GetVerticalScrollBarWidth() { 346 int NativeScrollBarWrapper::GetVerticalScrollBarWidth() {
347 return GetSystemMetrics(SM_CXVSCROLL); 347 return GetSystemMetrics(SM_CXVSCROLL);
348 } 348 }
349 349
350 } // namespace views 350 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar.cc ('k') | ui/views/controls/slider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698