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

Side by Side Diff: ui/base/models/dialog_model.h

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 years, 11 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 | « ui/base/models/combobox_model_observer.h ('k') | ui/base/models/list_model_observer.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 UI_BASE_MODELS_DIALOG_MODEL_H_ 5 #ifndef UI_BASE_MODELS_DIALOG_MODEL_H_
6 #define UI_BASE_MODELS_DIALOG_MODEL_H_ 6 #define UI_BASE_MODELS_DIALOG_MODEL_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/base/ui_base_export.h"
9 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
10 #include "ui/base/ui_export.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 // A model representing a dialog window. The model provides the content to show 14 // A model representing a dialog window. The model provides the content to show
15 // to the user (i.e. label, title), and the ways the user can interact with it 15 // to the user (i.e. label, title), and the ways the user can interact with it
16 // (i.e. the buttons). 16 // (i.e. the buttons).
17 class UI_EXPORT DialogModel { 17 class UI_BASE_EXPORT DialogModel {
18 public: 18 public:
19 virtual ~DialogModel(); 19 virtual ~DialogModel();
20 20
21 // Returns the text of show in the dialog. 21 // Returns the text of show in the dialog.
22 virtual base::string16 GetDialogLabel() const = 0; 22 virtual base::string16 GetDialogLabel() const = 0;
23 23
24 // Returns the title of the dialog. 24 // Returns the title of the dialog.
25 virtual base::string16 GetDialogTitle() const = 0; 25 virtual base::string16 GetDialogTitle() const = 0;
26 26
27 // Returns a mask specifying which of the available DialogButtons are visible 27 // Returns a mask specifying which of the available DialogButtons are visible
(...skipping 15 matching lines...) Expand all
43 // Returns the label of the specified dialog button. 43 // Returns the label of the specified dialog button.
44 virtual base::string16 GetDialogButtonLabel(DialogButton button) const = 0; 44 virtual base::string16 GetDialogButtonLabel(DialogButton button) const = 0;
45 45
46 // Returns whether the specified dialog button is enabled. 46 // Returns whether the specified dialog button is enabled.
47 virtual bool IsDialogButtonEnabled(DialogButton button) const = 0; 47 virtual bool IsDialogButtonEnabled(DialogButton button) const = 0;
48 }; 48 };
49 49
50 } // namespace ui 50 } // namespace ui
51 51
52 #endif // UI_BASE_MODELS_DIALOG_MODEL_H_ 52 #endif // UI_BASE_MODELS_DIALOG_MODEL_H_
OLDNEW
« no previous file with comments | « ui/base/models/combobox_model_observer.h ('k') | ui/base/models/list_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698