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

Side by Side Diff: chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/ui/browser_list_observer.h" 10 #include "chrome/browser/ui/browser_list_observer.h"
11 #include "chrome/browser/ui/host_desktop.h"
12 #include "chrome/browser/ui/sync/bubble_sync_promo_delegate.h" 11 #include "chrome/browser/ui/sync/bubble_sync_promo_delegate.h"
13 12
14 class Browser; 13 class Browser;
15 class Profile; 14 class Profile;
16 15
17 // Delegate of the bookmark bubble to load the sign in page in a browser 16 // Delegate of the bookmark bubble to load the sign in page in a browser
18 // when the sign in link is clicked. 17 // when the sign in link is clicked.
19 class BookmarkBubbleSignInDelegate : public BubbleSyncPromoDelegate, 18 class BookmarkBubbleSignInDelegate : public BubbleSyncPromoDelegate,
20 public chrome::BrowserListObserver { 19 public chrome::BrowserListObserver {
21 public: 20 public:
(...skipping 10 matching lines...) Expand all
32 31
33 // Makes sure |browser_| points to a valid browser. 32 // Makes sure |browser_| points to a valid browser.
34 void EnsureBrowser(); 33 void EnsureBrowser();
35 34
36 // The browser in which the sign in page must be loaded. 35 // The browser in which the sign in page must be loaded.
37 Browser* browser_; 36 Browser* browser_;
38 37
39 // The profile associated with |browser_|. 38 // The profile associated with |browser_|.
40 Profile* profile_; 39 Profile* profile_;
41 40
42 // The host desktop of |browser_|.
43 chrome::HostDesktopType desktop_type_;
44
45 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleSignInDelegate); 41 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleSignInDelegate);
46 }; 42 };
47 43
48 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_ 44 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_SIGN_IN_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/window_positioner_unittest.cc ('k') | chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698