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

Side by Side Diff: views/controls/progress_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/native_control.h ('k') | views/controls/resize_area.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_PROGRESS_BAR_H_ 5 #ifndef VIEWS_CONTROLS_PROGRESS_BAR_H_
6 #define VIEWS_CONTROLS_PROGRESS_BAR_H_ 6 #define VIEWS_CONTROLS_PROGRESS_BAR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "views/view.h" 11 #include "views/view.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Canvas; 14 class Canvas;
15 class Point; 15 class Point;
16 class Size; 16 class Size;
17 } 17 }
18 18
19 namespace views { 19 namespace views {
20 20
21 ///////////////////////////////////////////////////////////////////////////// 21 /////////////////////////////////////////////////////////////////////////////
22 // 22 //
23 // ProgressBar class 23 // ProgressBar class
24 // 24 //
25 // A progress bar is a control that indicates progress visually. 25 // A progress bar is a control that indicates progress visually.
26 // 26 //
27 ///////////////////////////////////////////////////////////////////////////// 27 /////////////////////////////////////////////////////////////////////////////
28 28
29 class VIEWS_API ProgressBar : public View { 29 class VIEWS_EXPORT ProgressBar : public View {
30 public: 30 public:
31 ProgressBar(); 31 ProgressBar();
32 virtual ~ProgressBar(); 32 virtual ~ProgressBar();
33 33
34 // Overridden to return preferred size of the progress bar. 34 // Overridden to return preferred size of the progress bar.
35 virtual gfx::Size GetPreferredSize(); 35 virtual gfx::Size GetPreferredSize();
36 36
37 // Returns views/ProgressBar. 37 // Returns views/ProgressBar.
38 virtual std::string GetClassName() const; 38 virtual std::string GetClassName() const;
39 39
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // The view class name. 74 // The view class name.
75 static const char kViewClassName[]; 75 static const char kViewClassName[];
76 76
77 DISALLOW_COPY_AND_ASSIGN(ProgressBar); 77 DISALLOW_COPY_AND_ASSIGN(ProgressBar);
78 }; 78 };
79 79
80 } // namespace views 80 } // namespace views
81 81
82 #endif // VIEWS_CONTROLS_PROGRESS_BAR_H_ 82 #endif // VIEWS_CONTROLS_PROGRESS_BAR_H_
OLDNEW
« no previous file with comments | « views/controls/native_control.h ('k') | views/controls/resize_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698