OLD | NEW |
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 Loading... |
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 Loading... |
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) |
OLD | NEW |