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

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: fix mac Created 8 years, 5 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') | chrome/browser/ui/browser.cc » ('J')
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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 bool blocked) OVERRIDE; 670 bool blocked) OVERRIDE;
671 671
672 // Overridden from BlockedContentTabHelperDelegate: 672 // Overridden from BlockedContentTabHelperDelegate:
673 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; 673 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE;
674 674
675 // Overridden from BookmarkTabHelperDelegate: 675 // Overridden from BookmarkTabHelperDelegate:
676 virtual void URLStarredChanged(TabContents* source, 676 virtual void URLStarredChanged(TabContents* source,
677 bool starred) OVERRIDE; 677 bool starred) OVERRIDE;
678 678
679 // Overridden from ZoomObserver: 679 // Overridden from ZoomObserver:
680 virtual void OnZoomIconChanged(TabContents* source,
681 ZoomController::ZoomIconState state) OVERRIDE;
682 virtual void OnZoomChanged(TabContents* source, 680 virtual void OnZoomChanged(TabContents* source,
683 int zoom_percent,
684 bool can_show_bubble) OVERRIDE; 681 bool can_show_bubble) OVERRIDE;
685 682
686 // Overridden from SelectFileDialog::Listener: 683 // Overridden from SelectFileDialog::Listener:
687 virtual void FileSelected(const FilePath& path, 684 virtual void FileSelected(const FilePath& path,
688 int index, 685 int index,
689 void* params) OVERRIDE; 686 void* params) OVERRIDE;
690 687
691 // Overridden from content::NotificationObserver: 688 // Overridden from content::NotificationObserver:
692 virtual void Observe(int type, 689 virtual void Observe(int type,
693 const content::NotificationSource& source, 690 const content::NotificationSource& source,
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 bool window_has_shown_; 922 bool window_has_shown_;
926 923
927 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 924 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
928 // before DidEndColorChooser is called. 925 // before DidEndColorChooser is called.
929 scoped_ptr<content::ColorChooser> color_chooser_; 926 scoped_ptr<content::ColorChooser> color_chooser_;
930 927
931 DISALLOW_COPY_AND_ASSIGN(Browser); 928 DISALLOW_COPY_AND_ASSIGN(Browser);
932 }; 929 };
933 930
934 #endif // CHROME_BROWSER_UI_BROWSER_H_ 931 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698