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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 13979003: Win: Display a native bubble (instead of the JS one) after the web signin flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include <string>
9
8 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/bookmarks/bookmark_model.h" 12 #include "chrome/browser/bookmarks/bookmark_model.h"
11 #include "chrome/browser/extensions/extension_keybinding_registry.h" 13 #include "chrome/browser/extensions/extension_keybinding_registry.h"
12 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
13 #include "chrome/browser/ui/search/search_model_observer.h" 15 #include "chrome/browser/ui/search/search_model_observer.h"
14 #include "ui/base/ui_base_types.h" 16 #include "ui/base/ui_base_types.h"
15 17
16 class Browser; 18 class Browser;
17 @class BrowserWindowController; 19 @class BrowserWindowController;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 Profile* profile) OVERRIDE; 95 Profile* profile) OVERRIDE;
94 virtual void ToggleBookmarkBar() OVERRIDE; 96 virtual void ToggleBookmarkBar() OVERRIDE;
95 virtual void ShowUpdateChromeDialog() OVERRIDE; 97 virtual void ShowUpdateChromeDialog() OVERRIDE;
96 virtual void ShowBookmarkBubble(const GURL& url, 98 virtual void ShowBookmarkBubble(const GURL& url,
97 bool already_bookmarked) OVERRIDE; 99 bool already_bookmarked) OVERRIDE;
98 virtual void ShowChromeToMobileBubble() OVERRIDE; 100 virtual void ShowChromeToMobileBubble() OVERRIDE;
99 #if defined(ENABLE_ONE_CLICK_SIGNIN) 101 #if defined(ENABLE_ONE_CLICK_SIGNIN)
100 virtual void ShowOneClickSigninBubble( 102 virtual void ShowOneClickSigninBubble(
101 OneClickSigninBubbleType type, 103 OneClickSigninBubbleType type,
102 const string16& email, 104 const string16& email,
105 const string16& error_message,
103 const StartSyncCallback& start_sync_callback) OVERRIDE; 106 const StartSyncCallback& start_sync_callback) OVERRIDE;
104 #endif 107 #endif
105 virtual bool IsDownloadShelfVisible() const OVERRIDE; 108 virtual bool IsDownloadShelfVisible() const OVERRIDE;
106 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 109 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
107 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 110 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
108 virtual void UserChangedTheme() OVERRIDE; 111 virtual void UserChangedTheme() OVERRIDE;
109 virtual int GetExtraRenderViewHeight() const OVERRIDE; 112 virtual int GetExtraRenderViewHeight() const OVERRIDE;
110 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 113 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
111 virtual void ShowWebsiteSettings(Profile* profile, 114 virtual void ShowWebsiteSettings(Profile* profile,
112 content::WebContents* web_contents, 115 content::WebContents* web_contents,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 167
165 Browser* browser_; // weak, owned by controller 168 Browser* browser_; // weak, owned by controller
166 BrowserWindowController* controller_; // weak, owns us 169 BrowserWindowController* controller_; // weak, owns us
167 base::WeakPtrFactory<Browser> confirm_close_factory_; 170 base::WeakPtrFactory<Browser> confirm_close_factory_;
168 scoped_nsobject<NSString> pending_window_title_; 171 scoped_nsobject<NSString> pending_window_title_;
169 ui::WindowShowState initial_show_state_; 172 ui::WindowShowState initial_show_state_;
170 NSInteger attention_request_id_; // identifier from requestUserAttention 173 NSInteger attention_request_id_; // identifier from requestUserAttention
171 }; 174 };
172 175
173 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 176 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698