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

Unified Diff: third_party/WebKit/Source/core/dom/NodeFilter.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/NodeFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/NodeFilter.h
diff --git a/third_party/WebKit/Source/core/dom/NodeFilter.h b/third_party/WebKit/Source/core/dom/NodeFilter.h
index 35ce43f978ea2d8634f3f46d4a39dc65f5776ba9..f0edec48bc265789e0b915cee3669c15cb37ecd6 100644
--- a/third_party/WebKit/Source/core/dom/NodeFilter.h
+++ b/third_party/WebKit/Source/core/dom/NodeFilter.h
@@ -39,9 +39,9 @@ public:
* method:
*/
enum {
- FILTER_ACCEPT = 1,
- FILTER_REJECT = 2,
- FILTER_SKIP = 3
+ kFilterAccept = 1,
+ kFilterReject = 2,
+ kFilterSkip = 3
};
/**
@@ -51,19 +51,19 @@ public:
* to the value of NodeType for the equivalent node type.
*/
enum {
- SHOW_ALL = 0xFFFFFFFF,
- SHOW_ELEMENT = 0x00000001,
- SHOW_ATTRIBUTE = 0x00000002,
- SHOW_TEXT = 0x00000004,
- SHOW_CDATA_SECTION = 0x00000008,
- SHOW_ENTITY_REFERENCE = 0x00000010,
- SHOW_ENTITY = 0x00000020,
- SHOW_PROCESSING_INSTRUCTION = 0x00000040,
- SHOW_COMMENT = 0x00000080,
- SHOW_DOCUMENT = 0x00000100,
- SHOW_DOCUMENT_TYPE = 0x00000200,
- SHOW_DOCUMENT_FRAGMENT = 0x00000400,
- SHOW_NOTATION = 0x00000800
+ kShowAll = 0xFFFFFFFF,
+ kShowElement = 0x00000001,
+ kShowAttribute = 0x00000002,
+ kShowText = 0x00000004,
+ kShowCdataSection = 0x00000008,
+ kShowEntityReference = 0x00000010,
+ kShowEntity = 0x00000020,
+ kShowProcessingInstruction = 0x00000040,
+ kShowComment = 0x00000080,
+ kShowDocument = 0x00000100,
+ kShowDocumentType = 0x00000200,
+ kShowDocumentFragment = 0x00000400,
+ kShowNotation = 0x00000800
};
static NodeFilter* create(NodeFilterCondition* condition)
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/NodeFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698