| 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_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/resources/returned_resource.h" | 9 #include "cc/resources/returned_resource.h" |
| 10 #include "cc/surfaces/surface_factory_client.h" | 10 #include "cc/surfaces/surface_factory_client.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 109 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 110 gfx::Rect GetBoundsInRootWindow() override; | 110 gfx::Rect GetBoundsInRootWindow() override; |
| 111 gfx::GLSurfaceHandle GetCompositingSurface() override; | 111 gfx::GLSurfaceHandle GetCompositingSurface() override; |
| 112 #if defined(USE_AURA) | 112 #if defined(USE_AURA) |
| 113 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 113 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 114 InputEventAckState ack_result) override; | 114 InputEventAckState ack_result) override; |
| 115 #endif // defined(USE_AURA) | 115 #endif // defined(USE_AURA) |
| 116 bool LockMouse() override; | 116 bool LockMouse() override; |
| 117 void UnlockMouse() override; | 117 void UnlockMouse() override; |
| 118 uint32_t GetSurfaceIdNamespace() override; | 118 uint32_t GetSurfaceIdNamespace() override; |
| 119 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 120 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; |
| 121 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 119 | 122 |
| 120 #if defined(OS_MACOSX) | 123 #if defined(OS_MACOSX) |
| 121 // RenderWidgetHostView implementation. | 124 // RenderWidgetHostView implementation. |
| 122 void SetActive(bool active) override; | 125 void SetActive(bool active) override; |
| 123 void SetWindowVisibility(bool visible) override; | 126 void SetWindowVisibility(bool visible) override; |
| 124 void WindowFrameChanged() override; | 127 void WindowFrameChanged() override; |
| 125 void ShowDefinitionForSelection() override; | 128 void ShowDefinitionForSelection() override; |
| 126 bool SupportsSpeech() const override; | 129 bool SupportsSpeech() const override; |
| 127 void SpeakSelection() override; | 130 void SpeakSelection() override; |
| 128 bool IsSpeaking() const override; | 131 bool IsSpeaking() const override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 } | 195 } |
| 193 | 196 |
| 194 private: | 197 private: |
| 195 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 198 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 196 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 199 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 197 }; | 200 }; |
| 198 | 201 |
| 199 } // namespace content | 202 } // namespace content |
| 200 | 203 |
| 201 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 204 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |