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

Side by Side Diff: views/controls/separator.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/scrollbar/scroll_bar.h ('k') | views/controls/single_split_view.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_SEPARATOR_H_ 5 #ifndef VIEWS_CONTROLS_SEPARATOR_H_
6 #define VIEWS_CONTROLS_SEPARATOR_H_ 6 #define VIEWS_CONTROLS_SEPARATOR_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 views { 13 namespace views {
14 14
15 // The Separator class is a view that shows a line used to visually separate 15 // The Separator class is a view that shows a line used to visually separate
16 // other views. The current implementation is only horizontal. 16 // other views. The current implementation is only horizontal.
17 17
18 class VIEWS_API Separator : public View { 18 class VIEWS_EXPORT Separator : public View {
19 public: 19 public:
20 // The separator's class name. 20 // The separator's class name.
21 static const char kViewClassName[]; 21 static const char kViewClassName[];
22 22
23 Separator(); 23 Separator();
24 virtual ~Separator(); 24 virtual ~Separator();
25 25
26 // Overridden from View: 26 // Overridden from View:
27 virtual gfx::Size GetPreferredSize() OVERRIDE; 27 virtual gfx::Size GetPreferredSize() OVERRIDE;
28 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 28 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
29 virtual void Paint(gfx::Canvas* canvas) OVERRIDE; 29 virtual void Paint(gfx::Canvas* canvas) OVERRIDE;
30 virtual std::string GetClassName() const OVERRIDE; 30 virtual std::string GetClassName() const OVERRIDE;
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(Separator); 33 DISALLOW_COPY_AND_ASSIGN(Separator);
34 }; 34 };
35 35
36 } // namespace views 36 } // namespace views
37 37
38 #endif // VIEWS_CONTROLS_SEPARATOR_H_ 38 #endif // VIEWS_CONTROLS_SEPARATOR_H_
OLDNEW
« no previous file with comments | « views/controls/scrollbar/scroll_bar.h ('k') | views/controls/single_split_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698