Index: chrome/browser/ui/views/constrained_html_delegate_views.cc |
=================================================================== |
--- chrome/browser/ui/views/constrained_html_delegate_views.cc (revision 110586) |
+++ chrome/browser/ui/views/constrained_html_delegate_views.cc (working copy) |
@@ -35,10 +35,10 @@ |
} |
// views::WidgetDelegate interface. |
+ virtual views::View* GetInitiallyFocusedView() OVERRIDE { |
+ return GetFocusView(); |
+ } |
virtual bool CanResize() const OVERRIDE { return true; } |
- virtual views::View* GetContentsView() OVERRIDE { |
- return this; |
- } |
virtual void WindowClosing() OVERRIDE { |
if (!closed_via_webui_) |
html_delegate_->OnDialogClosed(std::string()); |
@@ -49,10 +49,12 @@ |
virtual const views::Widget* GetWidget() const OVERRIDE { |
return View::GetWidget(); |
} |
- |
virtual string16 GetWindowTitle() const OVERRIDE { |
return html_delegate_->GetDialogTitle(); |
} |
+ virtual views::View* GetContentsView() OVERRIDE { |
+ return this; |
+ } |
// HtmlDialogTabContentsDelegate interface. |
void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) OVERRIDE {} |