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

Side by Side Diff: views/window/non_client_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/window/native_frame_view.h ('k') | views/window/window_shape.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_WINDOW_NON_CLIENT_VIEW_H_ 5 #ifndef VIEWS_WINDOW_NON_CLIENT_VIEW_H_
6 #define VIEWS_WINDOW_NON_CLIENT_VIEW_H_ 6 #define VIEWS_WINDOW_NON_CLIENT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "views/view.h" 10 #include "views/view.h"
11 #include "views/window/client_view.h" 11 #include "views/window/client_view.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Path; 14 class Path;
15 } 15 }
16 16
17 namespace views { 17 namespace views {
18 18
19 //////////////////////////////////////////////////////////////////////////////// 19 ////////////////////////////////////////////////////////////////////////////////
20 // NonClientFrameView 20 // NonClientFrameView
21 // 21 //
22 // An object that subclasses NonClientFrameView is a View that renders and 22 // An object that subclasses NonClientFrameView is a View that renders and
23 // responds to events within the frame portions of the non-client area of a 23 // responds to events within the frame portions of the non-client area of a
24 // window. This view does _not_ contain the ClientView, but rather is a sibling 24 // window. This view does _not_ contain the ClientView, but rather is a sibling
25 // of it. 25 // of it.
26 class VIEWS_API NonClientFrameView : public View { 26 class VIEWS_EXPORT NonClientFrameView : public View {
27 public: 27 public:
28 // Internal class name. 28 // Internal class name.
29 static const char kViewClassName[]; 29 static const char kViewClassName[];
30 // Various edges of the frame border have a 1 px shadow along their edges; in 30 // Various edges of the frame border have a 1 px shadow along their edges; in
31 // a few cases we shift elements based on this amount for visual appeal. 31 // a few cases we shift elements based on this amount for visual appeal.
32 static const int kFrameShadowThickness; 32 static const int kFrameShadowThickness;
33 // In restored mode, we draw a 1 px edge around the content area inside the 33 // In restored mode, we draw a 1 px edge around the content area inside the
34 // frame border. 34 // frame border.
35 static const int kClientEdgeThickness; 35 static const int kClientEdgeThickness;
36 36
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // | | | +----------------------------------------+ | | | 124 // | | | +----------------------------------------+ | | |
125 // | | +--------------------------------------------+ | | 125 // | | +--------------------------------------------+ | |
126 // | +------------------------------------------------+ | 126 // | +------------------------------------------------+ |
127 // +----------------------------------------------------+ 127 // +----------------------------------------------------+
128 // 128 //
129 // The NonClientFrameView and ClientView are siblings because due to theme 129 // The NonClientFrameView and ClientView are siblings because due to theme
130 // changes the NonClientFrameView may be replaced with different 130 // changes the NonClientFrameView may be replaced with different
131 // implementations (e.g. during the switch from DWM/Aero-Glass to Vista Basic/ 131 // implementations (e.g. during the switch from DWM/Aero-Glass to Vista Basic/
132 // Classic rendering). 132 // Classic rendering).
133 // 133 //
134 class VIEWS_API NonClientView : public View { 134 class VIEWS_EXPORT NonClientView : public View {
135 public: 135 public:
136 // Internal class name. 136 // Internal class name.
137 static const char kViewClassName[]; 137 static const char kViewClassName[];
138 138
139 NonClientView(); 139 NonClientView();
140 virtual ~NonClientView(); 140 virtual ~NonClientView();
141 141
142 // Returns the current NonClientFrameView instance, or NULL if 142 // Returns the current NonClientFrameView instance, or NULL if
143 // it does not exist. 143 // it does not exist.
144 NonClientFrameView* frame_view() const { return frame_view_.get(); } 144 NonClientFrameView* frame_view() const { return frame_view_.get(); }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 // The accessible name of this view. 233 // The accessible name of this view.
234 string16 accessible_name_; 234 string16 accessible_name_;
235 235
236 DISALLOW_COPY_AND_ASSIGN(NonClientView); 236 DISALLOW_COPY_AND_ASSIGN(NonClientView);
237 }; 237 };
238 238
239 } // namespace views 239 } // namespace views
240 240
241 #endif // #ifndef VIEWS_WINDOW_NON_CLIENT_VIEW_H_ 241 #endif // #ifndef VIEWS_WINDOW_NON_CLIENT_VIEW_H_
OLDNEW
« no previous file with comments | « views/window/native_frame_view.h ('k') | views/window/window_shape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698