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

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

Issue 1311783003: Devtools[LayoutEditor]: Rework layout-editor workflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@resize
Patch Set: Address comments Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 public: 79 public:
80 struct CORE_EXPORT DOMListener : public WillBeGarbageCollectedMixin { 80 struct CORE_EXPORT DOMListener : public WillBeGarbageCollectedMixin {
81 virtual ~DOMListener() 81 virtual ~DOMListener()
82 { 82 {
83 } 83 }
84 virtual void didRemoveDocument(Document*) = 0; 84 virtual void didRemoveDocument(Document*) = 0;
85 virtual void didRemoveDOMNode(Node*) = 0; 85 virtual void didRemoveDOMNode(Node*) = 0;
86 virtual void didModifyDOMAttr(Element*) = 0; 86 virtual void didModifyDOMAttr(Element*) = 0;
87 }; 87 };
88 88
89 enum SearchMode { NotSearching, SearchingForNormal, SearchingForUAShadow }; 89 enum SearchMode { NotSearching, SearchingForNormal, SearchingForUAShadow, Sh owLayoutEditor };
90 90
91 class Client { 91 class Client {
92 public: 92 public:
93 virtual ~Client() { } 93 virtual ~Client() { }
94 virtual void hideHighlight() { } 94 virtual void hideHighlight() { }
95 virtual void highlightNode(Node*, const InspectorHighlightConfig&, bool omitTooltip) { } 95 virtual void highlightNode(Node*, const InspectorHighlightConfig&, bool omitTooltip) { }
96 virtual void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlig htConfig&) { } 96 virtual void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlig htConfig&) { }
97 virtual void setInspectMode(SearchMode searchMode, PassOwnPtr<InspectorH ighlightConfig>) { } 97 virtual void setInspectMode(SearchMode searchMode, PassOwnPtr<InspectorH ighlightConfig>) { }
98 }; 98 };
99 99
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 OwnPtrWillBeMember<InspectorHistory> m_history; 263 OwnPtrWillBeMember<InspectorHistory> m_history;
264 OwnPtrWillBeMember<DOMEditor> m_domEditor; 264 OwnPtrWillBeMember<DOMEditor> m_domEditor;
265 bool m_suppressAttributeModifiedEvent; 265 bool m_suppressAttributeModifiedEvent;
266 int m_backendNodeIdToInspect; 266 int m_backendNodeIdToInspect;
267 }; 267 };
268 268
269 269
270 } // namespace blink 270 } // namespace blink
271 271
272 #endif // !defined(InspectorDOMAgent_h) 272 #endif // !defined(InspectorDOMAgent_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698