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

Side by Side Diff: ui/views/widget/widget_delegate.h

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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/views/widget/widget.cc ('k') | ui/views/widget/widget_delegate.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_WIDGET_WIDGET_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_
6 #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Returns true if the window can be activated. 56 // Returns true if the window can be activated.
57 virtual bool CanActivate() const; 57 virtual bool CanActivate() const;
58 58
59 // Returns the modal type that applies to the widget. Default is 59 // Returns the modal type that applies to the widget. Default is
60 // ui::MODAL_TYPE_NONE (not modal). 60 // ui::MODAL_TYPE_NONE (not modal).
61 virtual ui::ModalType GetModalType() const; 61 virtual ui::ModalType GetModalType() const;
62 62
63 virtual ui::AccessibilityTypes::Role GetAccessibleWindowRole() const; 63 virtual ui::AccessibilityTypes::Role GetAccessibleWindowRole() const;
64 64
65 // Returns the title to be read with screen readers. 65 // Returns the title to be read with screen readers.
66 virtual string16 GetAccessibleWindowTitle() const; 66 virtual base::string16 GetAccessibleWindowTitle() const;
67 67
68 // Returns the text to be displayed in the window title. 68 // Returns the text to be displayed in the window title.
69 virtual string16 GetWindowTitle() const; 69 virtual base::string16 GetWindowTitle() const;
70 70
71 // Returns true if the window should show a title in the title bar. 71 // Returns true if the window should show a title in the title bar.
72 virtual bool ShouldShowWindowTitle() const; 72 virtual bool ShouldShowWindowTitle() const;
73 73
74 // Returns true if the window should show a close button in the title bar. 74 // Returns true if the window should show a close button in the title bar.
75 virtual bool ShouldShowCloseButton() const; 75 virtual bool ShouldShowCloseButton() const;
76 76
77 // Returns true if the window should handle standard system commands, such as 77 // Returns true if the window should handle standard system commands, such as
78 // close, minimize, maximize. 78 // close, minimize, maximize.
79 virtual bool ShouldHandleSystemCommands() const; 79 virtual bool ShouldHandleSystemCommands() const;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual Widget* GetWidget() OVERRIDE; 198 virtual Widget* GetWidget() OVERRIDE;
199 virtual const Widget* GetWidget() const OVERRIDE; 199 virtual const Widget* GetWidget() const OVERRIDE;
200 200
201 private: 201 private:
202 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView); 202 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView);
203 }; 203 };
204 204
205 } // namespace views 205 } // namespace views
206 206
207 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ 207 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/widget/widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698