diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/inspector/InspectorOverlay.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/inspector/InspectorOverlay.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chromium/third_party/WebKit/Source/core/inspector/InspectorOverlay.h b/chromium/third_party/WebKit/Source/core/inspector/InspectorOverlay.h index 609cf52cf8c..4196ba4eb14 100644 --- a/chromium/third_party/WebKit/Source/core/inspector/InspectorOverlay.h +++ b/chromium/third_party/WebKit/Source/core/inspector/InspectorOverlay.h @@ -29,10 +29,12 @@ #ifndef InspectorOverlay_h #define InspectorOverlay_h +#include "core/InspectorTypeBuilder.h" #include "platform/Timer.h" #include "platform/geometry/FloatQuad.h" #include "platform/geometry/LayoutRect.h" #include "platform/graphics/Color.h" +#include "platform/heap/Handle.h" #include "wtf/OwnPtr.h" #include "wtf/PassOwnPtr.h" #include "wtf/RefPtr.h" @@ -46,6 +48,7 @@ class EmptyChromeClient; class GraphicsContext; class InspectorClient; class InspectorOverlayHost; +class JSONObject; class JSONValue; class Node; class Page; @@ -118,8 +121,6 @@ public: void hide(); void paint(GraphicsContext&); void drawOutline(GraphicsContext*, const LayoutRect&, const Color&); - void getHighlight(Highlight*) const; - void resize(const IntSize&); bool handleGestureEvent(const PlatformGestureEvent&); bool handleMouseEvent(const PlatformMouseEvent&); bool handleTouchEvent(const PlatformTouchEvent&); @@ -129,12 +130,13 @@ public: void setInspectModeEnabled(bool); void hideHighlight(); - void highlightNode(Node*, Node* eventTarget, const HighlightConfig&); + void highlightNode(Node*, Node* eventTarget, const HighlightConfig&, bool omitTooltip); void highlightQuad(PassOwnPtr<FloatQuad>, const HighlightConfig&); void showAndHideViewSize(bool showGrid); Node* highlightedNode() const; bool getBoxModel(Node*, Vector<FloatQuad>*); + PassRefPtr<TypeBuilder::DOM::ShapeOutsideInfo> buildObjectForShapeOutside(Node*); void freePage(); @@ -156,7 +158,7 @@ private: void drawViewSize(); Page* overlayPage(); - void reset(const IntSize& viewportSize, const IntSize& frameViewFullSize, int scrollX, int scrollY); + void reset(const IntSize& viewportSize, int scrollX, int scrollY); void evaluateInOverlay(const String& method, const String& argument); void evaluateInOverlay(const String& method, PassRefPtr<JSONValue> argument); void onTimer(Timer<InspectorOverlay>*); @@ -165,17 +167,17 @@ private: InspectorClient* m_client; String m_pausedInDebuggerMessage; bool m_inspectModeEnabled; - RefPtr<Node> m_highlightNode; - RefPtr<Node> m_eventTargetNode; + RefPtrWillBePersistent<Node> m_highlightNode; + RefPtrWillBePersistent<Node> m_eventTargetNode; HighlightConfig m_nodeHighlightConfig; OwnPtr<FloatQuad> m_highlightQuad; - OwnPtr<Page> m_overlayPage; + OwnPtrWillBePersistent<Page> m_overlayPage; OwnPtr<EmptyChromeClient> m_overlayChromeClient; RefPtr<InspectorOverlayHost> m_overlayHost; HighlightConfig m_quadHighlightConfig; - IntSize m_size; bool m_drawViewSize; bool m_drawViewSizeWithGrid; + bool m_omitTooltip; Timer<InspectorOverlay> m_timer; int m_activeProfilerCount; }; |