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

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

Issue 10736028: Refactor browser window zoom handling and enable zoom icon on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/browser.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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 bool blocked) OVERRIDE; 661 bool blocked) OVERRIDE;
662 662
663 // Overridden from BlockedContentTabHelperDelegate: 663 // Overridden from BlockedContentTabHelperDelegate:
664 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; 664 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE;
665 665
666 // Overridden from BookmarkTabHelperDelegate: 666 // Overridden from BookmarkTabHelperDelegate:
667 virtual void URLStarredChanged(TabContents* source, 667 virtual void URLStarredChanged(TabContents* source,
668 bool starred) OVERRIDE; 668 bool starred) OVERRIDE;
669 669
670 // Overridden from ZoomObserver: 670 // Overridden from ZoomObserver:
671 virtual void OnZoomIconChanged(TabContents* source,
672 ZoomController::ZoomIconState state) OVERRIDE;
673 virtual void OnZoomChanged(TabContents* source, 671 virtual void OnZoomChanged(TabContents* source,
674 int zoom_percent,
675 bool can_show_bubble) OVERRIDE; 672 bool can_show_bubble) OVERRIDE;
676 673
677 // Overridden from SelectFileDialog::Listener: 674 // Overridden from SelectFileDialog::Listener:
678 virtual void FileSelected(const FilePath& path, 675 virtual void FileSelected(const FilePath& path,
679 int index, 676 int index,
680 void* params) OVERRIDE; 677 void* params) OVERRIDE;
681 virtual void FileSelectedWithExtraInfo( 678 virtual void FileSelectedWithExtraInfo(
682 const ui::SelectedFileInfo& file_info, 679 const ui::SelectedFileInfo& file_info,
683 int index, 680 int index,
684 void* params) OVERRIDE; 681 void* params) OVERRIDE;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 bool window_has_shown_; 920 bool window_has_shown_;
924 921
925 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 922 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
926 // before DidEndColorChooser is called. 923 // before DidEndColorChooser is called.
927 scoped_ptr<content::ColorChooser> color_chooser_; 924 scoped_ptr<content::ColorChooser> color_chooser_;
928 925
929 DISALLOW_COPY_AND_ASSIGN(Browser); 926 DISALLOW_COPY_AND_ASSIGN(Browser);
930 }; 927 };
931 928
932 #endif // CHROME_BROWSER_UI_BROWSER_H_ 929 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698