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

Unified Diff: ash/frame/caption_buttons/frame_caption_button_container_view.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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: ash/frame/caption_buttons/frame_caption_button_container_view.cc
diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view.cc b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
index 6ae12ae30d211fd3c9a1b6d6201861fc0c9e1680..8a049908b152249b743e15ad20054736645008c4 100644
--- a/ash/frame/caption_buttons/frame_caption_button_container_view.cc
+++ b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
@@ -10,8 +10,8 @@
#include "ash/frame/caption_buttons/frame_caption_button.h"
#include "ash/frame/caption_buttons/frame_size_button.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/wm/maximize_mode/maximize_mode_controller.h"
-#include "ash/wm_shell.h"
#include "ui/base/hit_test.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
@@ -334,14 +334,14 @@ void FrameCaptionButtonContainerView::ButtonPressed(views::Button* sender,
}
if (event.IsGestureEvent())
- WmShell::Get()->RecordGestureAction(GESTURE_FRAMEMAXIMIZE_TAP);
+ ShellPort::Get()->RecordGestureAction(GESTURE_FRAMEMAXIMIZE_TAP);
} else if (sender == close_button_) {
frame_->Close();
action = UMA_WINDOW_CLOSE_BUTTON_CLICK;
} else {
return;
}
- WmShell::Get()->RecordUserMetricsAction(action);
+ ShellPort::Get()->RecordUserMetricsAction(action);
}
bool FrameCaptionButtonContainerView::IsMinimizeButtonVisible() const {

Powered by Google App Engine
This is Rietveld 408576698