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

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

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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.h ('k') | ui/base/models/list_selection_model_unittest.cc » ('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/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 #include "ui/base/ui_export.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_EXPORT DialogModel {
18 public: 18 public:
(...skipping 23 matching lines...) Expand all
42 // Returns whether the specified dialog button is enabled. 42 // Returns whether the specified dialog button is enabled.
43 virtual bool IsDialogButtonEnabled(DialogButton button) const = 0; 43 virtual bool IsDialogButtonEnabled(DialogButton button) const = 0;
44 44
45 // Returns true if the dialog should be closed. Returns false otherwise. 45 // Returns true if the dialog should be closed. Returns false otherwise.
46 virtual bool OnDialogButtonActivated(DialogButton button) = 0; 46 virtual bool OnDialogButtonActivated(DialogButton button) = 0;
47 }; 47 };
48 48
49 } // namespace ui 49 } // namespace ui
50 50
51 #endif // UI_BASE_MODELS_DIALOG_MODEL_H_ 51 #endif // UI_BASE_MODELS_DIALOG_MODEL_H_
OLDNEW
« no previous file with comments | « ui/base/models/combobox_model.h ('k') | ui/base/models/list_selection_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698