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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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
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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 bool IsToolbarVisible() const override; 312 bool IsToolbarVisible() const override;
313 void ShowUpdateChromeDialog() override; 313 void ShowUpdateChromeDialog() override;
314 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; 314 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override;
315 void ShowBookmarkAppBubble( 315 void ShowBookmarkAppBubble(
316 const WebApplicationInfo& web_app_info, 316 const WebApplicationInfo& web_app_info,
317 const ShowBookmarkAppBubbleCallback& callback) override; 317 const ShowBookmarkAppBubbleCallback& callback) override;
318 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 318 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
319 content::WebContents* contents, 319 content::WebContents* contents,
320 autofill::SaveCardBubbleController* controller, 320 autofill::SaveCardBubbleController* controller,
321 bool is_user_gesture) override; 321 bool is_user_gesture) override;
322 void ShowTranslateBubble(content::WebContents* contents, 322 ShowTranslateBubbleResult ShowTranslateBubble(
323 translate::TranslateStep step, 323 content::WebContents* contents,
324 translate::TranslateErrors::Type error_type, 324 translate::TranslateStep step,
325 bool is_user_gesture) override; 325 translate::TranslateErrors::Type error_type,
326 bool is_user_gesture) override;
326 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) 327 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN)
327 void ShowOneClickSigninConfirmation( 328 void ShowOneClickSigninConfirmation(
328 const base::string16& email, 329 const base::string16& email,
329 const StartSyncCallback& start_sync_callback) override; 330 const StartSyncCallback& start_sync_callback) override;
330 #endif 331 #endif
331 // TODO(beng): Not an override, move somewhere else. 332 // TODO(beng): Not an override, move somewhere else.
332 void SetDownloadShelfVisible(bool visible); 333 void SetDownloadShelfVisible(bool visible);
333 bool IsDownloadShelfVisible() const override; 334 bool IsDownloadShelfVisible() const override;
334 DownloadShelf* GetDownloadShelf() override; 335 DownloadShelf* GetDownloadShelf() override;
335 void ConfirmBrowserCloseWithPendingDownloads( 336 void ConfirmBrowserCloseWithPendingDownloads(
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 // The class that registers for keyboard shortcuts for extension commands. 704 // The class that registers for keyboard shortcuts for extension commands.
704 std::unique_ptr<ExtensionKeybindingRegistryViews> 705 std::unique_ptr<ExtensionKeybindingRegistryViews>
705 extension_keybinding_registry_; 706 extension_keybinding_registry_;
706 707
707 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 708 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
708 709
709 DISALLOW_COPY_AND_ASSIGN(BrowserView); 710 DISALLOW_COPY_AND_ASSIGN(BrowserView);
710 }; 711 };
711 712
712 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 713 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/translate/translate_bubble_view_state_transition.h ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698