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 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
| 104 void ConstrainedWebDialogDelegateBase::EnableAutoResize( |
| 105 const gfx::Size& min_size, |
| 106 const gfx::Size& max_size) { |
| 107 } |
| 108 #endif |
OLD | NEW |