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

Unified Diff: ash/frame/header_view.cc

Issue 2905383003: (fix landed) Reland of name MaximizeMode to TabletMode (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
« no previous file with comments | « ash/frame/header_view.h ('k') | ash/metrics/pointer_metrics_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/frame/header_view.cc
diff --git a/ash/frame/header_view.cc b/ash/frame/header_view.cc
index c59c5774b4fe34a00977d05bd1801c147549afc7..d8d1065751ae5e261ad0654d90cc8fcb0639e2fa 100644
--- a/ash/frame/header_view.cc
+++ b/ash/frame/header_view.cc
@@ -146,12 +146,12 @@
caption_button_container_->SetVisible(true);
}
-void HeaderView::OnMaximizeModeStarted() {
- caption_button_container_->UpdateSizeButtonVisibility();
- parent()->Layout();
-}
-
-void HeaderView::OnMaximizeModeEnded() {
+void HeaderView::OnTabletModeStarted() {
+ caption_button_container_->UpdateSizeButtonVisibility();
+ parent()->Layout();
+}
+
+void HeaderView::OnTabletModeEnded() {
caption_button_container_->UpdateSizeButtonVisibility();
parent()->Layout();
}
« no previous file with comments | « ash/frame/header_view.h ('k') | ash/metrics/pointer_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698