X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fextensions%2Fcommon%2Fswitches.cc;h=362630bdf057488efd8d729a345b38c8613ee46a;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=7856a7b4cfb13a66d71c3d2ff8ebd7ee0946f1e2;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/extensions/common/switches.cc b/src/extensions/common/switches.cc index 7856a7b..362630b 100644 --- a/src/extensions/common/switches.cc +++ b/src/extensions/common/switches.cc @@ -16,10 +16,25 @@ const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; const char kAllowLegacyExtensionManifests[] = "allow-legacy-extension-manifests"; +// Enables the tag in platform apps. +const char kAppView[] = "app-view"; + // Enables extension options to be embedded in chrome://extensions rather than // a new tab. const char kEmbeddedExtensionOptions[] = "embedded-extension-options"; +// Show apps windows after the first paint. Windows will be shown significantly +// later for heavy apps loading resources synchronously but it will be +// insignificant for apps that load most of their resources asynchronously. +const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint"; + +// Hack so that feature switch can work with about_flags. See +// kEnableScriptsRequireAction. +const char kEnableAppView[] = "enable-app-view"; + +// Enables the tag in platform apps. +const char kEnableAppWindowControls[] = "enable-app-window-controls"; + // Hack so that feature switch can work with about_flags. See // kEnableScriptsRequireAction. const char kEnableEmbeddedExtensionOptions[] = @@ -34,6 +49,10 @@ const char kEnableExperimentalExtensionApis[] = const char kEnableExtensionActionRedesign[] = "enable-extension-action-redesign"; +// Hack so that feature switch can work with about_flags. See +// kEnableScriptsRequireAction. +const char kEnableMimeHandlerView[] = "enable-mime-handler-view"; + // Enables extensions to hide bookmarks UI elements. const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; @@ -41,14 +60,6 @@ const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; // them in the chrome:extensions page. const char kErrorConsole[] = "error-console"; -// The time in milliseconds that an extension event page can be idle before it -// is shut down. -const char kEventPageIdleTime[] = "event-page-idle-time"; - -// The time in milliseconds that an extension event page has between being -// notified of its impending unload and that unload happening. -const char kEventPageSuspendingTime[] = "event-page-unloading-time"; - // Whether to switch to extension action redesign mode (experimental). const char kExtensionActionRedesign[] = "extension-action-redesign"; @@ -63,6 +74,9 @@ const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; // Whether to force developer mode extensions highlighting. const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; +// Whether or not mime handler view guests are enabled. +const char kMimeHandlerView[] = "mime-handler-view"; + // Notify the user and require consent for extensions running scripts. // Appending --scripts-require-action=1 has the same effect as // --enable-scripts-require-action (see below).