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

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

Issue 1402363013: Update location bar bubble/icon behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 gfx::Rect GetRootWindowResizerRect() const override; 109 gfx::Rect GetRootWindowResizerRect() const override;
110 void ConfirmAddSearchProvider(TemplateURL* template_url, 110 void ConfirmAddSearchProvider(TemplateURL* template_url,
111 Profile* profile) override; 111 Profile* profile) override;
112 void ShowUpdateChromeDialog() override; 112 void ShowUpdateChromeDialog() override;
113 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; 113 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override;
114 void ShowBookmarkAppBubble( 114 void ShowBookmarkAppBubble(
115 const WebApplicationInfo& web_app_info, 115 const WebApplicationInfo& web_app_info,
116 const ShowBookmarkAppBubbleCallback& callback) override; 116 const ShowBookmarkAppBubbleCallback& callback) override;
117 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 117 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
118 content::WebContents* contents, 118 content::WebContents* contents,
119 autofill::SaveCardBubbleController* controller) override; 119 autofill::SaveCardBubbleController* controller,
120 bool user_gesture) override;
120 void ShowTranslateBubble(content::WebContents* contents, 121 void ShowTranslateBubble(content::WebContents* contents,
121 translate::TranslateStep step, 122 translate::TranslateStep step,
122 translate::TranslateErrors::Type error_type, 123 translate::TranslateErrors::Type error_type,
123 bool is_user_gesture) override; 124 bool is_user_gesture) override;
124 bool IsProfileResetBubbleSupported() const override; 125 bool IsProfileResetBubbleSupported() const override;
125 GlobalErrorBubbleViewBase* ShowProfileResetBubble( 126 GlobalErrorBubbleViewBase* ShowProfileResetBubble(
126 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; 127 const base::WeakPtr<ProfileResetGlobalError>& global_error) override;
127 #if defined(ENABLE_ONE_CLICK_SIGNIN) 128 #if defined(ENABLE_ONE_CLICK_SIGNIN)
128 void ShowOneClickSigninBubble( 129 void ShowOneClickSigninBubble(
129 OneClickSigninBubbleType type, 130 OneClickSigninBubbleType type,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 191 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
191 192
192 Browser* browser_; // weak, owned by controller 193 Browser* browser_; // weak, owned by controller
193 BrowserWindowController* controller_; // weak, owns us 194 BrowserWindowController* controller_; // weak, owns us
194 base::scoped_nsobject<NSString> pending_window_title_; 195 base::scoped_nsobject<NSString> pending_window_title_;
195 ui::WindowShowState initial_show_state_; 196 ui::WindowShowState initial_show_state_;
196 NSInteger attention_request_id_; // identifier from requestUserAttention 197 NSInteger attention_request_id_; // identifier from requestUserAttention
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