OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 #if defined(OS_ANDROID) || defined(USE_AURA) | 128 #if defined(OS_ANDROID) || defined(USE_AURA) |
129 // RenderWidgetHostViewBase implementation. | 129 // RenderWidgetHostViewBase implementation. |
130 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 130 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
131 const SkBitmap& zoomed_bitmap) override; | 131 const SkBitmap& zoomed_bitmap) override; |
132 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 132 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
133 | 133 |
134 void LockCompositingSurface() override; | 134 void LockCompositingSurface() override; |
135 void UnlockCompositingSurface() override; | 135 void UnlockCompositingSurface() override; |
136 | 136 |
137 #if defined(OS_WIN) | |
138 void SetParentNativeViewAccessible( | |
139 gfx::NativeViewAccessible accessible_parent) override; | |
140 #endif | |
141 | |
142 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 137 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
143 InputEventAckState ack_result) override; | 138 InputEventAckState ack_result) override; |
144 | 139 |
145 void GestureEventAck(const blink::WebGestureEvent& event, | 140 void GestureEventAck(const blink::WebGestureEvent& event, |
146 InputEventAckState ack_result) override; | 141 InputEventAckState ack_result) override; |
147 | 142 |
148 protected: | 143 protected: |
149 friend class RenderWidgetHostView; | 144 friend class RenderWidgetHostView; |
150 | 145 |
151 private: | 146 private: |
(...skipping 13 matching lines...) Expand all Loading... |
165 // The platform view for this RenderWidgetHostView. | 160 // The platform view for this RenderWidgetHostView. |
166 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 161 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
167 // compositing, the rest are directly forwared to this |platform_view_|. | 162 // compositing, the rest are directly forwared to this |platform_view_|. |
168 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 163 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
169 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 164 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
170 }; | 165 }; |
171 | 166 |
172 } // namespace content | 167 } // namespace content |
173 | 168 |
174 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 169 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |