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

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

Issue 2400503002: [Translate] Integrate TranslateEventProto UMA logging into TranslateManager. (Closed)
Patch Set: fix trybots Created 4 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool IsToolbarVisible() const override; 101 bool IsToolbarVisible() const override;
102 void ShowUpdateChromeDialog() override; 102 void ShowUpdateChromeDialog() override;
103 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; 103 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override;
104 void ShowBookmarkAppBubble( 104 void ShowBookmarkAppBubble(
105 const WebApplicationInfo& web_app_info, 105 const WebApplicationInfo& web_app_info,
106 const ShowBookmarkAppBubbleCallback& callback) override; 106 const ShowBookmarkAppBubbleCallback& callback) override;
107 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 107 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
108 content::WebContents* contents, 108 content::WebContents* contents,
109 autofill::SaveCardBubbleController* controller, 109 autofill::SaveCardBubbleController* controller,
110 bool user_gesture) override; 110 bool user_gesture) override;
111 void ShowTranslateBubble(content::WebContents* contents, 111 ShowTranslateBubbleResult ShowTranslateBubble(
112 translate::TranslateStep step, 112 content::WebContents* contents,
113 translate::TranslateErrors::Type error_type, 113 translate::TranslateStep step,
114 bool is_user_gesture) override; 114 translate::TranslateErrors::Type error_type,
115 bool is_user_gesture) override;
115 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) 116 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN)
116 void ShowOneClickSigninConfirmation( 117 void ShowOneClickSigninConfirmation(
117 const base::string16& email, 118 const base::string16& email,
118 const StartSyncCallback& start_sync_callback) override; 119 const StartSyncCallback& start_sync_callback) override;
119 #endif 120 #endif
120 bool IsDownloadShelfVisible() const override; 121 bool IsDownloadShelfVisible() const override;
121 DownloadShelf* GetDownloadShelf() override; 122 DownloadShelf* GetDownloadShelf() override;
122 void ConfirmBrowserCloseWithPendingDownloads( 123 void ConfirmBrowserCloseWithPendingDownloads(
123 int download_count, 124 int download_count,
124 Browser::DownloadClosePreventionType dialog_type, 125 Browser::DownloadClosePreventionType dialog_type,
(...skipping 65 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 alert state to show appropriate icon in the window title 194 // Preserves window alert state to show appropriate icon in the window title
194 // which can be audio playing, muting or none (determined by alert state of 195 // which can be audio playing, muting or none (determined by alert state of
195 // tabs. 196 // tabs.
196 TabAlertState alert_state_; 197 TabAlertState alert_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