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

Unified Diff: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h

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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
diff --git a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
index 2a4d442abbc9ed1398e7e8fdde7ee5fb6019762c..cac0da4b7a1fe34a2cf3b4bf37da14285f98cc84 100644
--- a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
+++ b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
@@ -43,6 +43,11 @@ class ConstrainedWebDialogDelegateBase
content::WebContents* source,
const content::NativeWebKeyboardEvent& event) override;
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
+ void EnableAutoResize(const gfx::Size& min_size,
miu 2014/11/26 00:47:44 This method should be removed in this class. See
apacible 2014/11/26 17:35:15 Done.
+ const gfx::Size& max_size) override;
+#endif
+
private:
scoped_ptr<ui::WebDialogDelegate> web_dialog_delegate_;

Powered by Google App Engine
This is Rietveld 408576698