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

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

Issue 2850623002: [DevTools] Cleanup overlay resources in Dispose (Closed)
Patch Set: Created 3 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 Member<Page> overlay_page_; 197 Member<Page> overlay_page_;
198 Member<InspectorOverlayChromeClient> overlay_chrome_client_; 198 Member<InspectorOverlayChromeClient> overlay_chrome_client_;
199 Member<InspectorOverlayHost> overlay_host_; 199 Member<InspectorOverlayHost> overlay_host_;
200 Color quad_content_color_; 200 Color quad_content_color_;
201 Color quad_content_outline_color_; 201 Color quad_content_outline_color_;
202 bool draw_view_size_; 202 bool draw_view_size_;
203 bool resize_timer_active_; 203 bool resize_timer_active_;
204 bool omit_tooltip_; 204 bool omit_tooltip_;
205 TaskRunnerTimer<InspectorOverlayAgent> timer_; 205 TaskRunnerTimer<InspectorOverlayAgent> timer_;
206 bool suspended_; 206 bool suspended_;
207 bool disposed_;
207 bool show_reloading_blanket_; 208 bool show_reloading_blanket_;
208 bool in_layout_; 209 bool in_layout_;
209 bool needs_update_; 210 bool needs_update_;
210 v8_inspector::V8InspectorSession* v8_session_; 211 v8_inspector::V8InspectorSession* v8_session_;
211 Member<InspectorDOMAgent> dom_agent_; 212 Member<InspectorDOMAgent> dom_agent_;
212 std::unique_ptr<PageOverlay> page_overlay_; 213 std::unique_ptr<PageOverlay> page_overlay_;
213 Member<Node> hovered_node_for_inspect_mode_; 214 Member<Node> hovered_node_for_inspect_mode_;
214 bool swallow_next_mouse_up_; 215 bool swallow_next_mouse_up_;
215 SearchMode inspect_mode_; 216 SearchMode inspect_mode_;
216 std::unique_ptr<InspectorHighlightConfig> inspect_mode_highlight_config_; 217 std::unique_ptr<InspectorHighlightConfig> inspect_mode_highlight_config_;
217 int backend_node_id_to_inspect_; 218 int backend_node_id_to_inspect_;
218 }; 219 };
219 220
220 } // namespace blink 221 } // namespace blink
221 222
222 #endif // InspectorOverlayAgent_h 223 #endif // InspectorOverlayAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698