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 #include "ui/views/widget/widget_delegate.h" | 5 #include "ui/views/widget/widget_delegate.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
9 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
10 #include "ui/views/views_delegate.h" | 10 #include "ui/views/views_delegate.h" |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 } | 197 } |
198 | 198 |
199 Widget* WidgetDelegateView::GetWidget() { | 199 Widget* WidgetDelegateView::GetWidget() { |
200 return View::GetWidget(); | 200 return View::GetWidget(); |
201 } | 201 } |
202 | 202 |
203 const Widget* WidgetDelegateView::GetWidget() const { | 203 const Widget* WidgetDelegateView::GetWidget() const { |
204 return View::GetWidget(); | 204 return View::GetWidget(); |
205 } | 205 } |
206 | 206 |
| 207 views::View* WidgetDelegateView::GetContentsView() { |
| 208 return this; |
| 209 } |
| 210 |
207 const char* WidgetDelegateView::GetClassName() const { | 211 const char* WidgetDelegateView::GetClassName() const { |
208 return kViewClassName; | 212 return kViewClassName; |
209 } | 213 } |
210 | 214 |
211 } // namespace views | 215 } // namespace views |
OLD | NEW |