| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 93e95b3df5aeba29952e178285429f7779b183de..ca16252ba2a6e551b374bc18b11bee7e602035b4 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/metrics/histogram_macros.h"
|
| +#include "base/metrics/user_metrics.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/values.h"
|
| #include "cc/layers/layer.h"
|
| @@ -888,6 +889,7 @@ void ContentViewCoreImpl::SendOrientationChangeEvent(
|
| const JavaParamRef<jobject>& obj,
|
| jint orientation) {
|
| if (device_orientation_ != orientation) {
|
| + base::RecordAction(base::UserMetricsAction("ScreenOrientationChange"));
|
| device_orientation_ = orientation;
|
| SendOrientationChangeEventInternal();
|
| }
|
|
|