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

Side by Side Diff: views/controls/resize_area.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/progress_bar.h ('k') | views/controls/scroll_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_RESIZE_AREA_H_ 5 #ifndef VIEWS_CONTROLS_RESIZE_AREA_H_
6 #define VIEWS_CONTROLS_RESIZE_AREA_H_ 6 #define VIEWS_CONTROLS_RESIZE_AREA_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 //////////////////////////////////////////////////////////////////////////////// 15 ////////////////////////////////////////////////////////////////////////////////
16 // 16 //
17 // An invisible area that acts like a horizontal resizer. 17 // An invisible area that acts like a horizontal resizer.
18 // 18 //
19 //////////////////////////////////////////////////////////////////////////////// 19 ////////////////////////////////////////////////////////////////////////////////
20 class VIEWS_API ResizeArea : public View { 20 class VIEWS_EXPORT ResizeArea : public View {
21 public: 21 public:
22 ////////////////////////////////////////////////////////////////////////////// 22 //////////////////////////////////////////////////////////////////////////////
23 // 23 //
24 // The interface needed for getting notified about the resize event. 24 // The interface needed for getting notified about the resize event.
25 // 25 //
26 ////////////////////////////////////////////////////////////////////////////// 26 //////////////////////////////////////////////////////////////////////////////
27 class ResizeAreaDelegate { 27 class ResizeAreaDelegate {
28 public: 28 public:
29 // OnResize is sent when resizing is detected. |resize_amount| specifies the 29 // OnResize is sent when resizing is detected. |resize_amount| specifies the
30 // number of pixels that the user wants to resize by, and can be negative or 30 // number of pixels that the user wants to resize by, and can be negative or
(...skipping 28 matching lines...) Expand all
59 59
60 // The mouse position at start (in screen coordinates). 60 // The mouse position at start (in screen coordinates).
61 int initial_position_; 61 int initial_position_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ResizeArea); 63 DISALLOW_COPY_AND_ASSIGN(ResizeArea);
64 }; 64 };
65 65
66 } // namespace views 66 } // namespace views
67 67
68 #endif // VIEWS_CONTROLS_RESIZE_AREA_H_ 68 #endif // VIEWS_CONTROLS_RESIZE_AREA_H_
OLDNEW
« no previous file with comments | « views/controls/progress_bar.h ('k') | views/controls/scroll_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698