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

Unified Diff: components/zoom/zoom_controller.h

Issue 2415453004: [Mac] Don't show tooltip when zoom decoration is hidden. (Closed)
Patch Set: More fixes. Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/zoom_decoration_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/zoom/zoom_controller.h
diff --git a/components/zoom/zoom_controller.h b/components/zoom/zoom_controller.h
index a0b86876d78338751ab32a9cd9694ee93ae6aba3..159b74843371ba3aec1c71f9b45468729e78162b 100644
--- a/components/zoom/zoom_controller.h
+++ b/components/zoom/zoom_controller.h
@@ -105,7 +105,8 @@ class ZoomController : public content::WebContentsObserver,
}
// Convenience method to quickly check if the tab's at default zoom.
- bool IsAtDefaultZoom() const;
+ // Virtual for testing.
+ virtual bool IsAtDefaultZoom() const;
// Returns which image should be loaded for the current zoom level.
RelativeZoom GetZoomRelativeToDefault() const;
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/zoom_decoration_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698