OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/browser/accessibility/browser_accessibility_manager.h" | 8 #include "content/browser/accessibility/browser_accessibility_manager.h" |
9 #include "content/browser/gpu/gpu_data_manager_impl.h" | 9 #include "content/browser/gpu/gpu_data_manager_impl.h" |
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" | 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
688 return primary_portrait_angle == angle | 688 return primary_portrait_angle == angle |
689 ? blink::WebScreenOrientationPortraitPrimary | 689 ? blink::WebScreenOrientationPortraitPrimary |
690 : blink::WebScreenOrientationPortraitSecondary; | 690 : blink::WebScreenOrientationPortraitSecondary; |
691 } | 691 } |
692 | 692 |
693 return primary_landscape_angle == angle | 693 return primary_landscape_angle == angle |
694 ? blink::WebScreenOrientationLandscapePrimary | 694 ? blink::WebScreenOrientationLandscapePrimary |
695 : blink::WebScreenOrientationLandscapeSecondary; | 695 : blink::WebScreenOrientationLandscapeSecondary; |
696 } | 696 } |
697 | 697 |
698 void RenderWidgetHostViewBase::ResetGestureDetection() { | |
699 // We only provide implementation in the RenderWidgetHostViewAura. | |
tdresser
2015/01/24 14:29:00
This comment isn't correct, as RWHVAndroid also ha
lanwei
2015/01/30 14:21:49
Done.
| |
700 NOTIMPLEMENTED(); | |
701 } | |
702 | |
698 } // namespace content | 703 } // namespace content |
OLD | NEW |