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 { |