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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.h

Issue 2891883002: Revert of Updates Zoom bubble layout and adds +/- buttons (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.h b/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
index f7465a4fb738cb17ed19d3916cbdf30698af940f..1d2f2754faa15be9f6d1a83274df8b52af720df5 100644
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
@@ -103,12 +103,6 @@
// the zoom change.
void SetExtensionInfo(const extensions::Extension* extension);
- // Updates |label_| with the up to date zoom.
- void UpdateZoomPercent();
-
- // Updates visibility of the zoom icon in location bar.
- void UpdateZoomIconVisibility();
-
// Starts a timer which will close the bubble if |auto_close_| is true.
void StartTimerIfNecessary();
@@ -125,9 +119,6 @@
// Timer used to auto close the bubble.
base::OneShotTimer timer_;
- // Timer duration that is made longer if a user presses + or - buttons.
- base::TimeDelta auto_close_duration_;
-
// Image button in the zoom bubble that will show the |extension_icon_| image
// if an extension initiated the zoom change, and links to that extension at
// "chrome://extensions".
@@ -136,21 +127,11 @@
// Label displaying the zoom percentage.
views::Label* label_;
- // Action buttons that can change zoom.
- views::Button* zoom_out_button_;
- views::Button* zoom_in_button_;
- views::Button* reset_button_;
-
// The WebContents for the page whose zoom has changed.
content::WebContents* web_contents_;
// Whether the currently displayed bubble will automatically close.
bool auto_close_;
-
- // Used to ignore close requests generated automatically in response to
- // button presses, since pressing a button in the bubble should not trigger
- // closing.
- bool ignore_close_bubble_;
// The immersive mode controller for the BrowserView containing
// |web_contents_|.
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/location_bar/zoom_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698