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

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: Bug fix: view id on tests Created 7 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/view_ids.h ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('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_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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 virtual bool IsTabStripEditable() const OVERRIDE; 318 virtual bool IsTabStripEditable() const OVERRIDE;
319 virtual bool IsToolbarVisible() const OVERRIDE; 319 virtual bool IsToolbarVisible() const OVERRIDE;
320 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 320 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
321 virtual void DisableInactiveFrame() OVERRIDE; 321 virtual void DisableInactiveFrame() OVERRIDE;
322 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, 322 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
323 Profile* profile) OVERRIDE; 323 Profile* profile) OVERRIDE;
324 virtual void ShowUpdateChromeDialog() OVERRIDE; 324 virtual void ShowUpdateChromeDialog() OVERRIDE;
325 virtual void ShowBookmarkBubble(const GURL& url, 325 virtual void ShowBookmarkBubble(const GURL& url,
326 bool already_bookmarked) OVERRIDE; 326 bool already_bookmarked) OVERRIDE;
327 virtual void ShowBookmarkPrompt() OVERRIDE; 327 virtual void ShowBookmarkPrompt() OVERRIDE;
328 virtual void ShowTranslateBubble(
329 content::WebContents* contents,
330 TranslateBubbleModel::ViewState view_state) OVERRIDE;
328 #if defined(ENABLE_ONE_CLICK_SIGNIN) 331 #if defined(ENABLE_ONE_CLICK_SIGNIN)
329 virtual void ShowOneClickSigninBubble( 332 virtual void ShowOneClickSigninBubble(
330 OneClickSigninBubbleType type, 333 OneClickSigninBubbleType type,
331 const string16& email, 334 const string16& email,
332 const string16& error_message, 335 const string16& error_message,
333 const StartSyncCallback& start_sync_callback) OVERRIDE; 336 const StartSyncCallback& start_sync_callback) OVERRIDE;
334 #endif 337 #endif
335 // TODO(beng): Not an override, move somewhere else. 338 // TODO(beng): Not an override, move somewhere else.
336 void SetDownloadShelfVisible(bool visible); 339 void SetDownloadShelfVisible(bool visible);
337 virtual bool IsDownloadShelfVisible() const OVERRIDE; 340 virtual bool IsDownloadShelfVisible() const OVERRIDE;
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 748 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
746 749
747 gfx::ScopedSysColorChangeListener color_change_listener_; 750 gfx::ScopedSysColorChangeListener color_change_listener_;
748 751
749 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 752 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
750 753
751 DISALLOW_COPY_AND_ASSIGN(BrowserView); 754 DISALLOW_COPY_AND_ASSIGN(BrowserView);
752 }; 755 };
753 756
754 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 757 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/view_ids.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