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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #if defined(USE_AURA) | 121 #if defined(USE_AURA) |
122 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 122 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
123 InputEventAckState ack_result) override; | 123 InputEventAckState ack_result) override; |
124 #endif // defined(USE_AURA) | 124 #endif // defined(USE_AURA) |
125 bool LockMouse() override; | 125 bool LockMouse() override; |
126 void UnlockMouse() override; | 126 void UnlockMouse() override; |
127 uint32_t GetSurfaceIdNamespace() override; | 127 uint32_t GetSurfaceIdNamespace() override; |
128 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 128 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
129 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 129 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; |
130 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 130 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; |
131 void TransformPointToRootCoordSpace(const gfx::Point& point, | 131 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
132 gfx::Point* transformed_point) override; | |
133 | 132 |
134 #if defined(OS_MACOSX) | 133 #if defined(OS_MACOSX) |
135 // RenderWidgetHostView implementation. | 134 // RenderWidgetHostView implementation. |
136 void SetActive(bool active) override; | 135 void SetActive(bool active) override; |
137 void SetWindowVisibility(bool visible) override; | 136 void SetWindowVisibility(bool visible) override; |
138 void WindowFrameChanged() override; | 137 void WindowFrameChanged() override; |
139 void ShowDefinitionForSelection() override; | 138 void ShowDefinitionForSelection() override; |
140 bool SupportsSpeech() const override; | 139 bool SupportsSpeech() const override; |
141 void SpeakSelection() override; | 140 void SpeakSelection() override; |
142 bool IsSpeaking() const override; | 141 bool IsSpeaking() const override; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 } | 205 } |
207 | 206 |
208 private: | 207 private: |
209 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 208 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
210 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 209 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
211 }; | 210 }; |
212 | 211 |
213 } // namespace content | 212 } // namespace content |
214 | 213 |
215 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 214 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |