OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "web/WebFrameWidgetBase.h" | 44 #include "web/WebFrameWidgetBase.h" |
45 #include "web/WebInputMethodControllerImpl.h" | 45 #include "web/WebInputMethodControllerImpl.h" |
46 #include "web/WebLocalFrameImpl.h" | 46 #include "web/WebLocalFrameImpl.h" |
47 #include "web/WebViewImpl.h" | 47 #include "web/WebViewImpl.h" |
48 | 48 |
49 namespace blink { | 49 namespace blink { |
50 | 50 |
51 class CompositorAnimationHost; | 51 class CompositorAnimationHost; |
52 class Frame; | 52 class Frame; |
53 class Element; | 53 class Element; |
54 class InspectorOverlayAgent; | 54 class InspectorOverlay; |
55 class LocalFrame; | 55 class LocalFrame; |
56 class PaintLayerCompositor; | 56 class PaintLayerCompositor; |
57 class UserGestureToken; | 57 class UserGestureToken; |
58 class WebLayer; | 58 class WebLayer; |
59 class WebLayerTreeView; | 59 class WebLayerTreeView; |
60 class WebMouseEvent; | 60 class WebMouseEvent; |
61 class WebMouseWheelEvent; | 61 class WebMouseWheelEvent; |
62 class WebFrameWidgetImpl; | 62 class WebFrameWidgetImpl; |
63 | 63 |
64 using WebFrameWidgetsSet = | 64 using WebFrameWidgetsSet = |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // PageWidgetEventHandler functions | 177 // PageWidgetEventHandler functions |
178 void HandleMouseLeave(LocalFrame&, const WebMouseEvent&) override; | 178 void HandleMouseLeave(LocalFrame&, const WebMouseEvent&) override; |
179 void HandleMouseDown(LocalFrame&, const WebMouseEvent&) override; | 179 void HandleMouseDown(LocalFrame&, const WebMouseEvent&) override; |
180 void HandleMouseUp(LocalFrame&, const WebMouseEvent&) override; | 180 void HandleMouseUp(LocalFrame&, const WebMouseEvent&) override; |
181 WebInputEventResult HandleMouseWheel(LocalFrame&, | 181 WebInputEventResult HandleMouseWheel(LocalFrame&, |
182 const WebMouseWheelEvent&) override; | 182 const WebMouseWheelEvent&) override; |
183 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; | 183 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; |
184 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; | 184 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; |
185 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; | 185 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; |
186 | 186 |
187 InspectorOverlayAgent* GetInspectorOverlay(); | 187 InspectorOverlay* GetInspectorOverlay(); |
188 | 188 |
189 // This method returns the focused frame belonging to this WebWidget, that | 189 // This method returns the focused frame belonging to this WebWidget, that |
190 // is, a focused frame with the same local root as the one corresponding | 190 // is, a focused frame with the same local root as the one corresponding |
191 // to this widget. It will return nullptr if no frame is focused or, the | 191 // to this widget. It will return nullptr if no frame is focused or, the |
192 // focused frame has a different local root. | 192 // focused frame has a different local root. |
193 LocalFrame* FocusedLocalFrameInWidget() const; | 193 LocalFrame* FocusedLocalFrameInWidget() const; |
194 | 194 |
195 WebPlugin* FocusedPluginIfInputMethodSupported(LocalFrame*) const; | 195 WebPlugin* FocusedPluginIfInputMethodSupported(LocalFrame*) const; |
196 | 196 |
197 LocalFrame* FocusedLocalFrameAvailableForIme() const; | 197 LocalFrame* FocusedLocalFrameAvailableForIme() const; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 244 |
245 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 245 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
246 WebFrameWidgetBase, | 246 WebFrameWidgetBase, |
247 widget, | 247 widget, |
248 widget->ForSubframe(), | 248 widget->ForSubframe(), |
249 widget.ForSubframe()); | 249 widget.ForSubframe()); |
250 | 250 |
251 } // namespace blink | 251 } // namespace blink |
252 | 252 |
253 #endif | 253 #endif |
OLD | NEW |