| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 141 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 142 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 142 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 143 const ui::LatencyInfo& latency) override; | 143 const ui::LatencyInfo& latency) override; |
| 144 void ProcessGestureEvent(const blink::WebGestureEvent& event, | 144 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
| 145 const ui::LatencyInfo& latency) override; | 145 const ui::LatencyInfo& latency) override; |
| 146 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; | 146 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
| 147 | 147 |
| 148 #if defined(OS_MACOSX) | 148 #if defined(OS_MACOSX) |
| 149 // RenderWidgetHostView implementation. | 149 // RenderWidgetHostView implementation. |
| 150 void SetActive(bool active) override; | 150 void SetActive(bool active) override; |
| 151 void SetWindowVisibility(bool visible) override; | |
| 152 void WindowFrameChanged() override; | |
| 153 void ShowDefinitionForSelection() override; | 151 void ShowDefinitionForSelection() override; |
| 154 bool SupportsSpeech() const override; | 152 bool SupportsSpeech() const override; |
| 155 void SpeakSelection() override; | 153 void SpeakSelection() override; |
| 156 bool IsSpeaking() const override; | 154 bool IsSpeaking() const override; |
| 157 void StopSpeaking() override; | 155 void StopSpeaking() override; |
| 158 | |
| 159 // RenderWidgetHostViewBase implementation. | |
| 160 bool PostProcessEventForPluginIme( | |
| 161 const NativeWebKeyboardEvent& event) override; | |
| 162 #endif // defined(OS_MACOSX) | 156 #endif // defined(OS_MACOSX) |
| 163 | 157 |
| 164 // RenderWidgetHostViewBase implementation. | 158 // RenderWidgetHostViewBase implementation. |
| 165 void LockCompositingSurface() override; | 159 void LockCompositingSurface() override; |
| 166 void UnlockCompositingSurface() override; | 160 void UnlockCompositingSurface() override; |
| 167 | 161 |
| 168 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 162 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 169 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 163 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| 170 | 164 |
| 171 // cc::SurfaceFactoryClient implementation. | 165 // cc::SurfaceFactoryClient implementation. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // it convenient to swap() when processing the list. | 228 // it convenient to swap() when processing the list. |
| 235 FrameSwappedCallbackList frame_swapped_callbacks_; | 229 FrameSwappedCallbackList frame_swapped_callbacks_; |
| 236 | 230 |
| 237 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 231 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 238 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 232 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 239 }; | 233 }; |
| 240 | 234 |
| 241 } // namespace content | 235 } // namespace content |
| 242 | 236 |
| 243 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 237 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |