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

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

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « views/controls/scroll_view.h ('k') | views/controls/scrollbar/scroll_bar.h » ('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 #ifndef VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ 5 #ifndef VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_
6 #define VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ 6 #define VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "views/controls/scrollbar/scroll_bar.h" 11 #include "views/controls/scrollbar/scroll_bar.h"
12 #include "views/view.h" 12 #include "views/view.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 class NativeScrollBarWrapper; 16 class NativeScrollBarWrapper;
17 17
18 // The NativeScrollBar class is a scrollbar that uses platform's 18 // The NativeScrollBar class is a scrollbar that uses platform's
19 // native control. 19 // native control.
20 class VIEWS_API NativeScrollBar : public ScrollBar { 20 class VIEWS_EXPORT NativeScrollBar : public ScrollBar {
21 public: 21 public:
22 // The scroll-bar's class name. 22 // The scroll-bar's class name.
23 static const char kViewClassName[]; 23 static const char kViewClassName[];
24 24
25 // Create new scrollbar, either horizontal or vertical. 25 // Create new scrollbar, either horizontal or vertical.
26 explicit NativeScrollBar(bool is_horiz); 26 explicit NativeScrollBar(bool is_horiz);
27 virtual ~NativeScrollBar(); 27 virtual ~NativeScrollBar();
28 28
29 // Return the system sizes. 29 // Return the system sizes.
30 static int GetHorizontalScrollBarHeight(); 30 static int GetHorizontalScrollBarHeight();
(...skipping 18 matching lines...) Expand all
49 // init border 49 // init border
50 NativeScrollBarWrapper* native_wrapper_; 50 NativeScrollBarWrapper* native_wrapper_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(NativeScrollBar); 52 DISALLOW_COPY_AND_ASSIGN(NativeScrollBar);
53 }; 53 };
54 54
55 } // namespace views 55 } // namespace views
56 56
57 #endif // VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ 57 #endif // VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_
58 58
OLDNEW
« no previous file with comments | « views/controls/scroll_view.h ('k') | views/controls/scrollbar/scroll_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698