| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #endif | 84 #endif |
| 85 void RenderProcessGone(base::TerminationStatus status, | 85 void RenderProcessGone(base::TerminationStatus status, |
| 86 int error_code) override; | 86 int error_code) override; |
| 87 void Destroy() override; | 87 void Destroy() override; |
| 88 void SetTooltipText(const base::string16& tooltip_text) override; | 88 void SetTooltipText(const base::string16& tooltip_text) override; |
| 89 void SelectionChanged(const base::string16& text, | 89 void SelectionChanged(const base::string16& text, |
| 90 size_t offset, | 90 size_t offset, |
| 91 const gfx::Range& range) override; | 91 const gfx::Range& range) override; |
| 92 void SelectionBoundsChanged( | 92 void SelectionBoundsChanged( |
| 93 const ViewHostMsg_SelectionBounds_Params& params) override; | 93 const ViewHostMsg_SelectionBounds_Params& params) override; |
| 94 void CopyFromCompositingSurface(const gfx::Rect& src_subrect, | |
| 95 const gfx::Size& dst_size, | |
| 96 CopyFromCompositingSurfaceCallback& callback, | |
| 97 const SkColorType color_type) override; | |
| 98 void OnSwapCompositorFrame(uint32 output_surface_id, | 94 void OnSwapCompositorFrame(uint32 output_surface_id, |
| 99 scoped_ptr<cc::CompositorFrame> frame) override; | 95 scoped_ptr<cc::CompositorFrame> frame) override; |
| 100 #if defined(USE_AURA) | 96 #if defined(USE_AURA) |
| 101 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 97 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 102 InputEventAckState ack_result) override; | 98 InputEventAckState ack_result) override; |
| 103 #endif | 99 #endif |
| 104 bool LockMouse() override; | 100 bool LockMouse() override; |
| 105 void UnlockMouse() override; | 101 void UnlockMouse() override; |
| 106 void GetScreenInfo(blink::WebScreenInfo* results) override; | 102 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 107 | 103 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
| 176 #if defined(USE_AURA) | 172 #if defined(USE_AURA) |
| 177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 178 #endif | 174 #endif |
| 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 180 }; | 176 }; |
| 181 | 177 |
| 182 } // namespace content | 178 } // namespace content |
| 183 | 179 |
| 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |