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

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

Issue 1718093005: Convert enable_one_click_signin to new buildflag system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
11 #include "chrome/browser/signin/chrome_signin_helper.h" 11 #include "chrome/browser/signin/chrome_signin_helper.h"
12 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
13 #include "chrome/browser/ui/search/search_model_observer.h" 13 #include "chrome/browser/ui/search/search_model_observer.h"
14 #include "chrome/browser/ui/tabs/tab_utils.h" 14 #include "chrome/browser/ui/tabs/tab_utils.h"
15 #include "chrome/common/features.h"
15 #include "components/bookmarks/browser/bookmark_model.h" 16 #include "components/bookmarks/browser/bookmark_model.h"
16 #include "components/security_state/security_state_model.h" 17 #include "components/security_state/security_state_model.h"
17 #include "ui/base/ui_base_types.h" 18 #include "ui/base/ui_base_types.h"
18 19
19 class Browser; 20 class Browser;
20 @class BrowserWindowController; 21 @class BrowserWindowController;
21 @class FindBarCocoaController; 22 @class FindBarCocoaController;
22 @class NSEvent; 23 @class NSEvent;
23 @class NSMenu; 24 @class NSMenu;
24 @class NSWindow; 25 @class NSWindow;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const WebApplicationInfo& web_app_info, 106 const WebApplicationInfo& web_app_info,
106 const ShowBookmarkAppBubbleCallback& callback) override; 107 const ShowBookmarkAppBubbleCallback& callback) override;
107 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 108 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
108 content::WebContents* contents, 109 content::WebContents* contents,
109 autofill::SaveCardBubbleController* controller, 110 autofill::SaveCardBubbleController* controller,
110 bool user_gesture) override; 111 bool user_gesture) override;
111 void ShowTranslateBubble(content::WebContents* contents, 112 void ShowTranslateBubble(content::WebContents* contents,
112 translate::TranslateStep step, 113 translate::TranslateStep step,
113 translate::TranslateErrors::Type error_type, 114 translate::TranslateErrors::Type error_type,
114 bool is_user_gesture) override; 115 bool is_user_gesture) override;
115 #if defined(ENABLE_ONE_CLICK_SIGNIN) 116 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN)
116 void ShowOneClickSigninBubble( 117 void ShowOneClickSigninBubble(
117 OneClickSigninBubbleType type, 118 OneClickSigninBubbleType type,
118 const base::string16& email, 119 const base::string16& email,
119 const base::string16& error_message, 120 const base::string16& error_message,
120 const StartSyncCallback& start_sync_callback) override; 121 const StartSyncCallback& start_sync_callback) override;
121 #endif 122 #endif
122 bool IsDownloadShelfVisible() const override; 123 bool IsDownloadShelfVisible() const override;
123 DownloadShelf* GetDownloadShelf() override; 124 DownloadShelf* GetDownloadShelf() override;
124 void ConfirmBrowserCloseWithPendingDownloads( 125 void ConfirmBrowserCloseWithPendingDownloads(
125 int download_count, 126 int download_count,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 ui::WindowShowState initial_show_state_; 191 ui::WindowShowState initial_show_state_;
191 NSInteger attention_request_id_; // identifier from requestUserAttention 192 NSInteger attention_request_id_; // identifier from requestUserAttention
192 193
193 // Preserves window media state to show appropriate icon in the window title 194 // Preserves window media state to show appropriate icon in the window title
194 // which can be audio playing, muting or none (determined by media state of 195 // which can be audio playing, muting or none (determined by media state of
195 // tabs. 196 // tabs.
196 TabMediaState media_state_; 197 TabMediaState media_state_;
197 }; 198 };
198 199
199 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 200 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698