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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 2524213002: MacViews: Consolidate flags. Just use --secondary-ui-md to enable MacViews. (Closed)
Patch Set: remove obsolete comment from r409593 Created 4 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/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index c711a30584ebf7a8058516849064f64d7ed5a1b3..d61557c67a5a48b94fa7bde30be99368f2fe7e7c 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -25,10 +25,6 @@ class GURL;
class LoginHandler;
class Profile;
-namespace base {
-struct Feature;
-}
-
namespace bookmarks {
class BookmarkBubbleObserver;
}
@@ -67,14 +63,6 @@ class WebDialogDelegate;
namespace chrome {
-#if defined(OS_MACOSX)
-// Makes ToolkitViewsDialogsEnabled() available to chrome://flags.
-extern const base::Feature kMacViewsNativeDialogs;
-
-// Makes ToolkitViewsWebUIDialogsEnabled() available to chrome://flags.
-extern const base::Feature kMacViewsWebUIDialogs;
-#endif // OS_MACOSX
-
// Shows or hides the Task Manager. |browser| can be NULL when called from Ash.
// Returns a pointer to the underlying TableModel, which can be ignored, or used
// for testing.
@@ -123,14 +111,6 @@ content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
#if defined(OS_MACOSX)
-// For Mac, returns true if Chrome should show an equivalent toolkit-views based
-// dialog instead of a native-looking Cocoa dialog.
-bool ToolkitViewsDialogsEnabled();
-
-// For Mac, returns true if Chrome should show an equivalent toolkit-views based
-// dialog instead of a WebUI-styled Cocoa dialog.
-bool ToolkitViewsWebUIDialogsEnabled();
-
// Shows a Views website settings bubble at the given anchor point.
void ShowWebsiteSettingsBubbleViewsAtPoint(
const gfx::Point& anchor_point,

Powered by Google App Engine
This is Rietveld 408576698