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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 25373009: Translate: New Bubble UX (for the view toolkit) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add 'Try again' button; rename enum names Created 7 years, 2 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_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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 virtual bool IsToolbarVisible() const OVERRIDE; 314 virtual bool IsToolbarVisible() const OVERRIDE;
315 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 315 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
316 virtual void DisableInactiveFrame() OVERRIDE; 316 virtual void DisableInactiveFrame() OVERRIDE;
317 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, 317 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
318 Profile* profile) OVERRIDE; 318 Profile* profile) OVERRIDE;
319 virtual void ToggleBookmarkBar() OVERRIDE; 319 virtual void ToggleBookmarkBar() OVERRIDE;
320 virtual void ShowUpdateChromeDialog() OVERRIDE; 320 virtual void ShowUpdateChromeDialog() OVERRIDE;
321 virtual void ShowBookmarkBubble(const GURL& url, 321 virtual void ShowBookmarkBubble(const GURL& url,
322 bool already_bookmarked) OVERRIDE; 322 bool already_bookmarked) OVERRIDE;
323 virtual void ShowBookmarkPrompt() OVERRIDE; 323 virtual void ShowBookmarkPrompt() OVERRIDE;
324 virtual void ShowTranslateBubble(content::WebContents* contents,
325 TranslateBubble::Type type) OVERRIDE;
324 #if defined(ENABLE_ONE_CLICK_SIGNIN) 326 #if defined(ENABLE_ONE_CLICK_SIGNIN)
325 virtual void ShowOneClickSigninBubble( 327 virtual void ShowOneClickSigninBubble(
326 OneClickSigninBubbleType type, 328 OneClickSigninBubbleType type,
327 const string16& email, 329 const string16& email,
328 const string16& error_message, 330 const string16& error_message,
329 const StartSyncCallback& start_sync_callback) OVERRIDE; 331 const StartSyncCallback& start_sync_callback) OVERRIDE;
330 #endif 332 #endif
331 // TODO(beng): Not an override, move somewhere else. 333 // TODO(beng): Not an override, move somewhere else.
332 void SetDownloadShelfVisible(bool visible); 334 void SetDownloadShelfVisible(bool visible);
333 virtual bool IsDownloadShelfVisible() const OVERRIDE; 335 virtual bool IsDownloadShelfVisible() const OVERRIDE;
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 746 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
745 747
746 gfx::ScopedSysColorChangeListener color_change_listener_; 748 gfx::ScopedSysColorChangeListener color_change_listener_;
747 749
748 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 750 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
749 751
750 DISALLOW_COPY_AND_ASSIGN(BrowserView); 752 DISALLOW_COPY_AND_ASSIGN(BrowserView);
751 }; 753 };
752 754
753 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 755 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698