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

Unified Diff: chrome/browser/guest_view/extension_options/extension_options_constants.cc

Issue 431503002: Implement autosizing for <extensionoptions> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests and ensure that size constraints make sense Created 6 years, 4 months 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/guest_view/extension_options/extension_options_constants.cc
diff --git a/chrome/browser/guest_view/extension_options/extension_options_constants.cc b/chrome/browser/guest_view/extension_options/extension_options_constants.cc
index 40bfec0810a30012e2854a84028caf423b6365d8..ab431c969adaf0b1e397e2b9143678cd17372530 100644
--- a/chrome/browser/guest_view/extension_options/extension_options_constants.cc
+++ b/chrome/browser/guest_view/extension_options/extension_options_constants.cc
@@ -6,6 +6,15 @@
namespace extensionoptions {
+// Attributes.
+const char kAttributeAutoSize[] = "autosize";
+const char kAttributeMaxHeight[] = "maxheight";
+const char kAttributeMaxWidth[] = "maxwidth";
+const char kAttributeMinHeight[] = "minheight";
+const char kAttributeMinWidth[] = "minwidth";
+
const char kExtensionId[] = "extensionId";
+const char kHeight[] = "height";
+const char kWidth[] = "width";
} // namespace extensionoptions

Powered by Google App Engine
This is Rietveld 408576698