| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 RenderWidgetHostViewBase* updated_view, | 243 RenderWidgetHostViewBase* updated_view, |
| 244 bool did_change_state) override; | 244 bool did_change_state) override; |
| 245 void OnImeCompositionRangeChanged( | 245 void OnImeCompositionRangeChanged( |
| 246 TextInputManager* text_input_manager, | 246 TextInputManager* text_input_manager, |
| 247 RenderWidgetHostViewBase* updated_view) override; | 247 RenderWidgetHostViewBase* updated_view) override; |
| 248 void OnImeCancelComposition(TextInputManager* text_input_manager, | 248 void OnImeCancelComposition(TextInputManager* text_input_manager, |
| 249 RenderWidgetHostViewBase* updated_view) override; | 249 RenderWidgetHostViewBase* updated_view) override; |
| 250 void OnTextSelectionChanged(TextInputManager* text_input_manager, | 250 void OnTextSelectionChanged(TextInputManager* text_input_manager, |
| 251 RenderWidgetHostViewBase* updated_view) override; | 251 RenderWidgetHostViewBase* updated_view) override; |
| 252 | 252 |
| 253 ImeAdapterAndroid* ime_adapter_for_testing() { return &ime_adapter_android_; } |
| 254 |
| 253 private: | 255 private: |
| 254 void RunAckCallbacks(); | 256 void RunAckCallbacks(); |
| 255 | 257 |
| 256 void CheckCompositorFrameSinkChanged(uint32_t compositor_frame_sink_id); | 258 void CheckCompositorFrameSinkChanged(uint32_t compositor_frame_sink_id); |
| 257 void SubmitCompositorFrame(cc::CompositorFrame frame_data); | 259 void SubmitCompositorFrame(cc::CompositorFrame frame_data); |
| 258 void SendReclaimCompositorResources(uint32_t compositor_frame_sink_id, | 260 void SendReclaimCompositorResources(uint32_t compositor_frame_sink_id, |
| 259 bool is_swap_ack); | 261 bool is_swap_ack); |
| 260 | 262 |
| 261 void OnFrameMetadataUpdated(const cc::CompositorFrameMetadata& frame_metadata, | 263 void OnFrameMetadataUpdated(const cc::CompositorFrameMetadata& frame_metadata, |
| 262 bool is_transparent); | 264 bool is_transparent); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 gfx::Vector2dF last_scroll_offset_; | 379 gfx::Vector2dF last_scroll_offset_; |
| 378 | 380 |
| 379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 381 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 380 | 382 |
| 381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 383 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 382 }; | 384 }; |
| 383 | 385 |
| 384 } // namespace content | 386 } // namespace content |
| 385 | 387 |
| 386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 388 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |