Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc

Issue 754953002: Enable AutoResize for Constrained Web Dialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698