| 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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void CopyFromCompositingSurfaceToVideoFrame( | 164 void CopyFromCompositingSurfaceToVideoFrame( |
| 165 const gfx::Rect& src_subrect, | 165 const gfx::Rect& src_subrect, |
| 166 const scoped_refptr<media::VideoFrame>& target, | 166 const scoped_refptr<media::VideoFrame>& target, |
| 167 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 167 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
| 168 bool CanCopyToVideoFrame() const override; | 168 bool CanCopyToVideoFrame() const override; |
| 169 void BeginFrameSubscription( | 169 void BeginFrameSubscription( |
| 170 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 170 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
| 171 void EndFrameSubscription() override; | 171 void EndFrameSubscription() override; |
| 172 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 172 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 173 void GetScreenInfo(blink::WebScreenInfo* results) override; | 173 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 174 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | |
| 175 gfx::Rect GetBoundsInRootWindow() override; | 174 gfx::Rect GetBoundsInRootWindow() override; |
| 176 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 175 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 177 InputEventAckState ack_result) override; | 176 InputEventAckState ack_result) override; |
| 178 void GestureEventAck(const blink::WebGestureEvent& event, | 177 void GestureEventAck(const blink::WebGestureEvent& event, |
| 179 InputEventAckState ack_result) override; | 178 InputEventAckState ack_result) override; |
| 180 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 179 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 181 InputEventAckState ack_result) override; | 180 InputEventAckState ack_result) override; |
| 182 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 181 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| 183 override; | 182 override; |
| 184 InputEventAckState FilterInputEvent( | 183 InputEventAckState FilterInputEvent( |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 bool disable_input_event_router_for_testing_; | 692 bool disable_input_event_router_for_testing_; |
| 694 | 693 |
| 695 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 694 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 696 | 695 |
| 697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 698 }; | 697 }; |
| 699 | 698 |
| 700 } // namespace content | 699 } // namespace content |
| 701 | 700 |
| 702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 701 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |