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

Side by Side Diff: views/controls/single_split_view.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/separator.h ('k') | views/controls/tabbed_pane/tabbed_pane.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_SINGLE_SPLIT_VIEW_H_ 5 #ifndef VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_
6 #define VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ 6 #define VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "views/view.h" 10 #include "views/view.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 // SingleSplitView lays out two views next to each other, either horizontally 14 // SingleSplitView lays out two views next to each other, either horizontally
15 // or vertically. A splitter exists between the two views that the user can 15 // or vertically. A splitter exists between the two views that the user can
16 // drag around to resize the views. 16 // drag around to resize the views.
17 // Observer's SplitHandleMoved notification helps to monitor user initiated 17 // Observer's SplitHandleMoved notification helps to monitor user initiated
18 // layout changes. 18 // layout changes.
19 class VIEWS_API SingleSplitView : public View { 19 class VIEWS_EXPORT SingleSplitView : public View {
20 public: 20 public:
21 enum Orientation { 21 enum Orientation {
22 HORIZONTAL_SPLIT, 22 HORIZONTAL_SPLIT,
23 VERTICAL_SPLIT 23 VERTICAL_SPLIT
24 }; 24 };
25 25
26 // Internal class name 26 // Internal class name
27 static const char kViewClassName[]; 27 static const char kViewClassName[];
28 28
29 class Observer { 29 class Observer {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // The accessible name of this view. 137 // The accessible name of this view.
138 string16 accessible_name_; 138 string16 accessible_name_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(SingleSplitView); 140 DISALLOW_COPY_AND_ASSIGN(SingleSplitView);
141 }; 141 };
142 142
143 } // namespace views 143 } // namespace views
144 144
145 #endif // VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ 145 #endif // VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_
OLDNEW
« no previous file with comments | « views/controls/separator.h ('k') | views/controls/tabbed_pane/tabbed_pane.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698