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

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: Merge with trunk and fix hung renderer dialog close. Created 9 years, 3 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..489e5192763edcf281fff853ee7725d1ed8f3dcb 100644
--- a/chrome/browser/ui/webui/chrome_web_ui.h
+++ b/chrome/browser/ui/webui/chrome_web_ui.h
@@ -24,6 +24,10 @@ class ChromeWebUI : public WebUI {
return force_bookmark_bar_visible_;
}
+ // IsMoreWebUI returns a command line flag that tracks whether to use
+ // available WebUI implementations of native dialogs.
+ 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