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

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: remove desktop_type_ in bookmark_bubble_sign_in_delegate 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
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index b9813b8754b0625db59c5e0ef48feae8f4a64c5d..c20478cd55e28f4a654fa01fd2782e2e4f9fcd7c 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -162,20 +162,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;
@@ -183,9 +178,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;
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698