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

Unified Diff: chrome/browser/ui/panels/panel_browser_window.cc

Issue 10831372: Revert 152080 - 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_window.cc
===================================================================
--- chrome/browser/ui/panels/panel_browser_window.cc (revision 152086)
+++ chrome/browser/ui/panels/panel_browser_window.cc (working copy)
@@ -154,9 +154,17 @@
// have starred state.
}
-void PanelBrowserWindow::ZoomChangedForActiveTab(bool can_show_bubble) {
+void PanelBrowserWindow::SetZoomIconState(ZoomController::ZoomIconState state) {
+ // Since panels don't have an Omnibox, they don't have a zoom icon.
+}
+
+void PanelBrowserWindow::SetZoomIconTooltipPercent(int zoom_percent) {
+ // Since panels don't have an Omnibox, they don't have a zoom icon.
+}
+
+void PanelBrowserWindow::ShowZoomBubble(int zoom_percent) {
// Since panels don't have an Omnibox, they don't have a zoom icon, so no
- // view icon nor bubble will appear for this action.
+ // bubble will appear from it.
}
void PanelBrowserWindow::EnterFullscreen(
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698