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

Side by Side Diff: views/controls/message_box_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/menu/submenu_view.h ('k') | views/controls/native/native_view_host.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_MESSAGE_BOX_VIEW_H_ 5 #ifndef VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
6 #define VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 6 #define VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "views/view.h" 12 #include "views/view.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 class Checkbox; 16 class Checkbox;
17 class ImageView; 17 class ImageView;
18 class Label; 18 class Label;
19 class Textfield; 19 class Textfield;
20 20
21 // This class displays the contents of a message box. It is intended for use 21 // This class displays the contents of a message box. It is intended for use
22 // within a constrained window, and has options for a message, prompt, OK 22 // within a constrained window, and has options for a message, prompt, OK
23 // and Cancel buttons. 23 // and Cancel buttons.
24 class VIEWS_API MessageBoxView : public View { 24 class VIEWS_EXPORT MessageBoxView : public View {
25 public: 25 public:
26 MessageBoxView(int dialog_flags, 26 MessageBoxView(int dialog_flags,
27 const std::wstring& message, 27 const std::wstring& message,
28 const std::wstring& default_prompt, 28 const std::wstring& default_prompt,
29 int message_width); 29 int message_width);
30 30
31 MessageBoxView(int dialog_flags, 31 MessageBoxView(int dialog_flags,
32 const std::wstring& message, 32 const std::wstring& message,
33 const std::wstring& default_prompt); 33 const std::wstring& default_prompt);
34 34
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 int message_width_; 93 int message_width_;
94 94
95 ScopedRunnableMethodFactory<MessageBoxView> focus_grabber_factory_; 95 ScopedRunnableMethodFactory<MessageBoxView> focus_grabber_factory_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(MessageBoxView); 97 DISALLOW_COPY_AND_ASSIGN(MessageBoxView);
98 }; 98 };
99 99
100 } // namespace views 100 } // namespace views
101 101
102 #endif // VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 102 #endif // VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
OLDNEW
« no previous file with comments | « views/controls/menu/submenu_view.h ('k') | views/controls/native/native_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698