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

Side by Side Diff: Source/core/dom/shadow/ShadowRoot.h

Issue 64113006: Rename es => exceptionState in core/dom (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/custom/CustomElementRegistry.cpp ('k') | Source/core/dom/shadow/ShadowRoot.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) 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 bool resetStyleInheritance() const { return m_resetStyleInheritance; } 109 bool resetStyleInheritance() const { return m_resetStyleInheritance; }
110 void setResetStyleInheritance(bool); 110 void setResetStyleInheritance(bool);
111 111
112 ShadowRoot* olderShadowRoot() const { return next(); } 112 ShadowRoot* olderShadowRoot() const { return next(); }
113 113
114 String innerHTML() const; 114 String innerHTML() const;
115 void setInnerHTML(const String&, ExceptionState&); 115 void setInnerHTML(const String&, ExceptionState&);
116 116
117 PassRefPtr<Node> cloneNode(bool, ExceptionState&); 117 PassRefPtr<Node> cloneNode(bool, ExceptionState&);
118 PassRefPtr<Node> cloneNode(ExceptionState& es) { return cloneNode(true, es); } 118 PassRefPtr<Node> cloneNode(ExceptionState& exceptionState) { return cloneNod e(true, exceptionState); }
119 119
120 StyleSheetList* styleSheets(); 120 StyleSheetList* styleSheets();
121 121
122 private: 122 private:
123 ShadowRoot(Document*, ShadowRootType); 123 ShadowRoot(Document*, ShadowRootType);
124 virtual ~ShadowRoot(); 124 virtual ~ShadowRoot();
125 125
126 virtual void dispose() OVERRIDE; 126 virtual void dispose() OVERRIDE;
127 virtual bool childTypeAllowed(NodeType) const OVERRIDE; 127 virtual bool childTypeAllowed(NodeType) const OVERRIDE;
128 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) OVERRIDE; 128 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) OVERRIDE;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 inline ShadowRoot& toShadowRoot(TreeScope& treeScope) 193 inline ShadowRoot& toShadowRoot(TreeScope& treeScope)
194 { 194 {
195 ASSERT_WITH_SECURITY_IMPLICATION(treeScope.rootNode() && treeScope.rootNode( )->isShadowRoot()); 195 ASSERT_WITH_SECURITY_IMPLICATION(treeScope.rootNode() && treeScope.rootNode( )->isShadowRoot());
196 return static_cast<ShadowRoot&>(treeScope); 196 return static_cast<ShadowRoot&>(treeScope);
197 } 197 }
198 198
199 } // namespace 199 } // namespace
200 200
201 #endif 201 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/custom/CustomElementRegistry.cpp ('k') | Source/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698