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

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

Issue 7670041: Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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/ui/webui/chrome_web_ui.h
diff --git a/chrome/browser/ui/webui/chrome_web_ui.h b/chrome/browser/ui/webui/chrome_web_ui.h
index 4b9ed852bfa0c23a65cb913a95c6dfb196ab8486..85ec192c1f16b261897eae9a2e3954574f32d206 100644
--- a/chrome/browser/ui/webui/chrome_web_ui.h
+++ b/chrome/browser/ui/webui/chrome_web_ui.h
@@ -24,6 +24,12 @@ class ChromeWebUI : public WebUI {
return force_bookmark_bar_visible_;
}
+ // SetMoreWebUI and IsMoreWebUI update and return the state of a global
+ // setting that tracks whether to use available WebUI implementations of
+ // native dialogs.
+ static void SetMoreWebUI(bool more_webui);
+ static bool IsMoreWebUI();
+
protected:
void set_force_bookmark_bar_visible(bool value) {
force_bookmark_bar_visible_ = value;

Powered by Google App Engine
This is Rietveld 408576698