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

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

Issue 1662783002: Remove HostDesktopType from Browser::CreateParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-12
Patch Set: dcheck Created 4 years, 10 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/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 37d23b3d282a177e6b27aee66fef96640a9c9672..9b440f1af32af0769eefddbc1392fe11140dbbf1 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -160,20 +160,15 @@ class Browser : public TabStripModelObserver,
};
struct CreateParams {
- CreateParams(Profile* profile, chrome::HostDesktopType host_desktop_type);
- CreateParams(Type type,
- Profile* profile,
- chrome::HostDesktopType host_desktop_type);
+ explicit CreateParams(Profile* profile);
+ CreateParams(Type type, Profile* profile);
static CreateParams CreateForApp(const std::string& app_name,
bool trusted_source,
const gfx::Rect& window_bounds,
- Profile* profile,
- chrome::HostDesktopType host_desktop_type);
+ Profile* profile);
- static CreateParams CreateForDevTools(
- Profile* profile,
- chrome::HostDesktopType host_desktop_type);
+ static CreateParams CreateForDevTools(Profile* profile);
// The browser type.
Type type;
@@ -181,9 +176,6 @@ class Browser : public TabStripModelObserver,
// The associated profile.
Profile* profile;
- // The host desktop the browser is created on.
- chrome::HostDesktopType host_desktop_type;
-
// Specifies the browser is_trusted_source_ value.
bool trusted_source;

Powered by Google App Engine
This is Rietveld 408576698