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

Side by Side Diff: third_party/WebKit/Source/core/dom/CharacterData.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 years, 9 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All
5 * rights reserved. 5 * rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // Skip DOM mutation events if the modification is from parser. 208 // Skip DOM mutation events if the modification is from parser.
209 // Note that mutation observer events will still fire. 209 // Note that mutation observer events will still fire.
210 // Spec: https://html.spec.whatwg.org/multipage/syntax.html#insert-a-character 210 // Spec: https://html.spec.whatwg.org/multipage/syntax.html#insert-a-character
211 if (source != UpdateFromParser && !isInShadowTree()) { 211 if (source != UpdateFromParser && !isInShadowTree()) {
212 if (document().hasListenerType(Document::DOMCHARACTERDATAMODIFIED_LISTENER)) 212 if (document().hasListenerType(Document::DOMCHARACTERDATAMODIFIED_LISTENER))
213 dispatchScopedEvent( 213 dispatchScopedEvent(
214 MutationEvent::create(EventTypeNames::DOMCharacterDataModified, true, 214 MutationEvent::create(EventTypeNames::DOMCharacterDataModified, true,
215 nullptr, oldData, m_data)); 215 nullptr, oldData, m_data));
216 dispatchSubtreeModifiedEvent(); 216 dispatchSubtreeModifiedEvent();
217 } 217 }
218 InspectorInstrumentation::characterDataModified(this); 218 probe::characterDataModified(this);
219 } 219 }
220 220
221 int CharacterData::maxCharacterOffset() const { 221 int CharacterData::maxCharacterOffset() const {
222 return static_cast<int>(length()); 222 return static_cast<int>(length());
223 } 223 }
224 224
225 } // namespace blink 225 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698