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

Side by Side Diff: Source/core/xml/XPathExpressionNode.h

Issue 637483002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/xml (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Source/core/xml/XPathEvaluator.h ('k') | Source/core/xml/XPathFunctions.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) 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006, 2009 Apple Inc. 3 * Copyright (C) 2006, 2009 Apple Inc.
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 public: 54 public:
55 virtual ~ParseNode() { } 55 virtual ~ParseNode() { }
56 virtual void trace(Visitor*) { } 56 virtual void trace(Visitor*) { }
57 }; 57 };
58 58
59 class Expression : public ParseNode { 59 class Expression : public ParseNode {
60 WTF_MAKE_NONCOPYABLE(Expression); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 60 WTF_MAKE_NONCOPYABLE(Expression); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
61 public: 61 public:
62 Expression(); 62 Expression();
63 virtual ~Expression(); 63 virtual ~Expression();
64 virtual void trace(Visitor*) OVERRIDE; 64 virtual void trace(Visitor*) override;
65 65
66 virtual Value evaluate(EvaluationContext&) const = 0; 66 virtual Value evaluate(EvaluationContext&) const = 0;
67 67
68 void addSubExpression(PassOwnPtrWillBeRawPtr<Expression> expr) 68 void addSubExpression(PassOwnPtrWillBeRawPtr<Expression> expr)
69 { 69 {
70 m_isContextNodeSensitive |= expr->m_isContextNodeSensitive; 70 m_isContextNodeSensitive |= expr->m_isContextNodeSensitive;
71 m_isContextPositionSensitive |= expr->m_isContextPositionSensitive; 71 m_isContextPositionSensitive |= expr->m_isContextPositionSensitive;
72 m_isContextSizeSensitive |= expr->m_isContextSizeSensitive; 72 m_isContextSizeSensitive |= expr->m_isContextSizeSensitive;
73 m_subExpressions.append(expr); 73 m_subExpressions.append(expr);
74 } 74 }
(...skipping 19 matching lines...) Expand all
94 bool m_isContextNodeSensitive; 94 bool m_isContextNodeSensitive;
95 bool m_isContextPositionSensitive; 95 bool m_isContextPositionSensitive;
96 bool m_isContextSizeSensitive; 96 bool m_isContextSizeSensitive;
97 }; 97 };
98 98
99 } 99 }
100 100
101 } 101 }
102 102
103 #endif // XPathExpressionNode_h 103 #endif // XPathExpressionNode_h
OLDNEW
« no previous file with comments | « Source/core/xml/XPathEvaluator.h ('k') | Source/core/xml/XPathFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698