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

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, 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_window.h » ('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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 bool blocked) OVERRIDE; 711 bool blocked) OVERRIDE;
712 712
713 // Overridden from BlockedContentTabHelperDelegate: 713 // Overridden from BlockedContentTabHelperDelegate:
714 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; 714 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE;
715 715
716 // Overridden from BookmarkTabHelperDelegate: 716 // Overridden from BookmarkTabHelperDelegate:
717 virtual void URLStarredChanged(TabContents* source, 717 virtual void URLStarredChanged(TabContents* source,
718 bool starred) OVERRIDE; 718 bool starred) OVERRIDE;
719 719
720 // Overridden from ZoomObserver: 720 // Overridden from ZoomObserver:
721 virtual void OnZoomIconChanged(TabContents* source,
722 ZoomController::ZoomIconState state) OVERRIDE;
723 virtual void OnZoomChanged(TabContents* source, 721 virtual void OnZoomChanged(TabContents* source,
724 int zoom_percent,
725 bool can_show_bubble) OVERRIDE; 722 bool can_show_bubble) OVERRIDE;
726 723
727 // Overridden from SelectFileDialog::Listener: 724 // Overridden from SelectFileDialog::Listener:
728 virtual void FileSelected(const FilePath& path, 725 virtual void FileSelected(const FilePath& path,
729 int index, 726 int index,
730 void* params) OVERRIDE; 727 void* params) OVERRIDE;
731 728
732 // Overridden from content::NotificationObserver: 729 // Overridden from content::NotificationObserver:
733 virtual void Observe(int type, 730 virtual void Observe(int type,
734 const content::NotificationSource& source, 731 const content::NotificationSource& source,
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 bool window_has_shown_; 1019 bool window_has_shown_;
1023 1020
1024 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 1021 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
1025 // before DidEndColorChooser is called. 1022 // before DidEndColorChooser is called.
1026 scoped_ptr<content::ColorChooser> color_chooser_; 1023 scoped_ptr<content::ColorChooser> color_chooser_;
1027 1024
1028 DISALLOW_COPY_AND_ASSIGN(Browser); 1025 DISALLOW_COPY_AND_ASSIGN(Browser);
1029 }; 1026 };
1030 1027
1031 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1028 #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_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698