OLD | NEW |
---|---|
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
204 // Internal class name. | 204 // Internal class name. |
205 static const char kViewClassName[]; | 205 static const char kViewClassName[]; |
206 | 206 |
207 WidgetDelegateView(); | 207 WidgetDelegateView(); |
208 ~WidgetDelegateView() override; | 208 ~WidgetDelegateView() override; |
209 | 209 |
210 // WidgetDelegate: | 210 // WidgetDelegate: |
211 void DeleteDelegate() override; | 211 void DeleteDelegate() override; |
212 Widget* GetWidget() override; | 212 Widget* GetWidget() override; |
213 const Widget* GetWidget() const override; | 213 const Widget* GetWidget() const override; |
214 views::View* GetContentsView() override; | |
tapted
2016/10/07 04:48:11
(nit: views:: prefix isn't needed here, or in the
| |
214 | 215 |
215 // View: | 216 // View: |
216 const char* GetClassName() const override; | 217 const char* GetClassName() const override; |
217 | 218 |
218 private: | 219 private: |
219 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView); | 220 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView); |
220 }; | 221 }; |
221 | 222 |
222 } // namespace views | 223 } // namespace views |
223 | 224 |
224 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ | 225 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ |
OLD | NEW |