| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 const gfx::Rect& src_subrect, | 129 const gfx::Rect& src_subrect, |
| 130 const gfx::Size& dst_size, | 130 const gfx::Size& dst_size, |
| 131 const ReadbackRequestCallback& callback, | 131 const ReadbackRequestCallback& callback, |
| 132 const SkColorType preferred_color_type) override; | 132 const SkColorType preferred_color_type) override; |
| 133 void CopyFromCompositingSurfaceToVideoFrame( | 133 void CopyFromCompositingSurfaceToVideoFrame( |
| 134 const gfx::Rect& src_subrect, | 134 const gfx::Rect& src_subrect, |
| 135 const scoped_refptr<media::VideoFrame>& target, | 135 const scoped_refptr<media::VideoFrame>& target, |
| 136 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 136 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
| 137 bool CanCopyToVideoFrame() const override; | 137 bool CanCopyToVideoFrame() const override; |
| 138 void GetScreenInfo(blink::WebScreenInfo* results) override; | 138 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 139 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | |
| 140 gfx::Rect GetBoundsInRootWindow() override; | 139 gfx::Rect GetBoundsInRootWindow() override; |
| 141 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 140 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 142 InputEventAckState ack_result) override; | 141 InputEventAckState ack_result) override; |
| 143 InputEventAckState FilterInputEvent( | 142 InputEventAckState FilterInputEvent( |
| 144 const blink::WebInputEvent& input_event) override; | 143 const blink::WebInputEvent& input_event) override; |
| 145 void OnSetNeedsFlushInput() override; | 144 void OnSetNeedsFlushInput() override; |
| 146 void GestureEventAck(const blink::WebGestureEvent& event, | 145 void GestureEventAck(const blink::WebGestureEvent& event, |
| 147 InputEventAckState ack_result) override; | 146 InputEventAckState ack_result) override; |
| 148 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 147 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 149 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 148 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 gfx::Vector2dF last_scroll_offset_; | 407 gfx::Vector2dF last_scroll_offset_; |
| 409 | 408 |
| 410 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 409 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 411 | 410 |
| 412 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 411 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 413 }; | 412 }; |
| 414 | 413 |
| 415 } // namespace content | 414 } // namespace content |
| 416 | 415 |
| 417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 416 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |