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

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

Issue 1957303003: [DevTools] Fix InspectorOverlay breakage after suspend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 7 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 Page* overlayPage(); 128 Page* overlayPage();
129 LocalFrame* overlayMainFrame(); 129 LocalFrame* overlayMainFrame();
130 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset ); 130 void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset );
131 void evaluateInOverlay(const String& method, const String& argument); 131 void evaluateInOverlay(const String& method, const String& argument);
132 void evaluateInOverlay(const String& method, PassOwnPtr<protocol::Value> arg ument); 132 void evaluateInOverlay(const String& method, PassOwnPtr<protocol::Value> arg ument);
133 void onTimer(Timer<InspectorOverlay>*); 133 void onTimer(Timer<InspectorOverlay>*);
134 void rebuildOverlayPage(); 134 void rebuildOverlayPage();
135 void invalidate(); 135 void invalidate();
136 void scheduleUpdate(); 136 void scheduleUpdate();
137 void clearInternal();
137 138
138 bool handleMousePress(); 139 bool handleMousePress();
139 bool handleGestureEvent(const PlatformGestureEvent&); 140 bool handleGestureEvent(const PlatformGestureEvent&);
140 bool handleTouchEvent(const PlatformTouchEvent&); 141 bool handleTouchEvent(const PlatformTouchEvent&);
141 bool handleMouseMove(const PlatformMouseEvent&); 142 bool handleMouseMove(const PlatformMouseEvent&);
142 bool shouldSearchForNode(); 143 bool shouldSearchForNode();
143 void inspect(Node*); 144 void inspect(Node*);
144 void initializeLayoutEditorIfNeeded(Node*); 145 void initializeLayoutEditorIfNeeded(Node*);
145 146
146 WebViewImpl* m_webViewImpl; 147 WebViewImpl* m_webViewImpl;
(...skipping 20 matching lines...) Expand all
167 OwnPtr<PageOverlay> m_pageOverlay; 168 OwnPtr<PageOverlay> m_pageOverlay;
168 Member<Node> m_hoveredNodeForInspectMode; 169 Member<Node> m_hoveredNodeForInspectMode;
169 InspectorDOMAgent::SearchMode m_inspectMode; 170 InspectorDOMAgent::SearchMode m_inspectMode;
170 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 171 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
171 }; 172 };
172 173
173 } // namespace blink 174 } // namespace blink
174 175
175 176
176 #endif // InspectorOverlay_h 177 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698