Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2819183002: [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: rebased bad merge Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 InspectorOverlay; 54 class InspectorOverlayAgent;
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
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 InspectorOverlay* GetInspectorOverlay(); 187 InspectorOverlayAgent* 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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698