| 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 "chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h" | 5 #include "chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/renderer_preferences_util.h" | 10 #include "chrome/browser/renderer_preferences_util.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 92 } |
| 93 | 93 |
| 94 WebContents* ConstrainedWebDialogDelegateBase::GetWebContents() { | 94 WebContents* ConstrainedWebDialogDelegateBase::GetWebContents() { |
| 95 return web_contents_.get(); | 95 return web_contents_.get(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 void ConstrainedWebDialogDelegateBase::HandleKeyboardEvent( | 98 void ConstrainedWebDialogDelegateBase::HandleKeyboardEvent( |
| 99 content::WebContents* source, | 99 content::WebContents* source, |
| 100 const NativeWebKeyboardEvent& event) { | 100 const NativeWebKeyboardEvent& event) { |
| 101 } | 101 } |
| 102 |
| 103 gfx::Size ConstrainedWebDialogDelegateBase::GetMinimumSize() const { |
| 104 NOTREACHED(); |
| 105 return gfx::Size(); |
| 106 } |
| 107 |
| 108 gfx::Size ConstrainedWebDialogDelegateBase::GetMaximumSize() const { |
| 109 NOTREACHED(); |
| 110 return gfx::Size(); |
| 111 } |
| 112 |
| 113 gfx::Size ConstrainedWebDialogDelegateBase::GetPreferredSize() const { |
| 114 NOTREACHED(); |
| 115 return gfx::Size(); |
| 116 } |
| OLD | NEW |