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

Side by Side Diff: Source/core/inspector/InspectorOverlay.h

Issue 237313003: CSS shapes support in Web Inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed review comment Created 6 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 29 matching lines...) Expand all
40 #include "wtf/Vector.h" 40 #include "wtf/Vector.h"
41 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 class Color; 45 class Color;
46 class EmptyChromeClient; 46 class EmptyChromeClient;
47 class GraphicsContext; 47 class GraphicsContext;
48 class InspectorClient; 48 class InspectorClient;
49 class InspectorOverlayHost; 49 class InspectorOverlayHost;
50 class JSONObject;
50 class JSONValue; 51 class JSONValue;
51 class Node; 52 class Node;
52 class Page; 53 class Page;
53 class PlatformGestureEvent; 54 class PlatformGestureEvent;
54 class PlatformKeyboardEvent; 55 class PlatformKeyboardEvent;
55 class PlatformMouseEvent; 56 class PlatformMouseEvent;
56 class PlatformTouchEvent; 57 class PlatformTouchEvent;
57 58
58 struct HighlightConfig { 59 struct HighlightConfig {
59 WTF_MAKE_FAST_ALLOCATED; 60 WTF_MAKE_FAST_ALLOCATED;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void resize(const IntSize&); 124 void resize(const IntSize&);
124 bool handleGestureEvent(const PlatformGestureEvent&); 125 bool handleGestureEvent(const PlatformGestureEvent&);
125 bool handleMouseEvent(const PlatformMouseEvent&); 126 bool handleMouseEvent(const PlatformMouseEvent&);
126 bool handleTouchEvent(const PlatformTouchEvent&); 127 bool handleTouchEvent(const PlatformTouchEvent&);
127 bool handleKeyboardEvent(const PlatformKeyboardEvent&); 128 bool handleKeyboardEvent(const PlatformKeyboardEvent&);
128 129
129 void setPausedInDebuggerMessage(const String*); 130 void setPausedInDebuggerMessage(const String*);
130 void setInspectModeEnabled(bool); 131 void setInspectModeEnabled(bool);
131 132
132 void hideHighlight(); 133 void hideHighlight();
134 PassRefPtr<JSONObject> buildObjectForShapeOutside();
133 void highlightNode(Node*, Node* eventTarget, const HighlightConfig&, bool om itTooltip); 135 void highlightNode(Node*, Node* eventTarget, const HighlightConfig&, bool om itTooltip);
134 void highlightQuad(PassOwnPtr<FloatQuad>, const HighlightConfig&); 136 void highlightQuad(PassOwnPtr<FloatQuad>, const HighlightConfig&);
135 void showAndHideViewSize(bool showGrid); 137 void showAndHideViewSize(bool showGrid);
136 138
137 Node* highlightedNode() const; 139 Node* highlightedNode() const;
138 bool getBoxModel(Node*, Vector<FloatQuad>*); 140 bool getBoxModel(Node*, Vector<FloatQuad>*);
139 141
140 void freePage(); 142 void freePage();
141 143
142 InspectorOverlayHost* overlayHost() const { return m_overlayHost.get(); } 144 InspectorOverlayHost* overlayHost() const { return m_overlayHost.get(); }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool m_drawViewSizeWithGrid; 181 bool m_drawViewSizeWithGrid;
180 bool m_omitTooltip; 182 bool m_omitTooltip;
181 Timer<InspectorOverlay> m_timer; 183 Timer<InspectorOverlay> m_timer;
182 int m_activeProfilerCount; 184 int m_activeProfilerCount;
183 }; 185 };
184 186
185 } // namespace WebCore 187 } // namespace WebCore
186 188
187 189
188 #endif // InspectorOverlay_h 190 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698