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

Side by Side Diff: third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #ifndef RangeBoundaryPoint_h 26 #ifndef RangeBoundaryPoint_h
27 #define RangeBoundaryPoint_h 27 #define RangeBoundaryPoint_h
28 28
29 #include "core/dom/Node.h" 29 #include "core/dom/Node.h"
30 #include "core/dom/NodeTraversal.h" 30 #include "core/dom/NodeTraversal.h"
31 #include "core/editing/Position.h" 31 #include "core/editing/Position.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class RangeBoundaryPoint { 35 class RangeBoundaryPoint {
36 DISALLOW_ALLOCATION(); 36 DISALLOW_NEW();
37 public: 37 public:
38 explicit RangeBoundaryPoint(PassRefPtrWillBeRawPtr<Node> container); 38 explicit RangeBoundaryPoint(PassRefPtrWillBeRawPtr<Node> container);
39 39
40 explicit RangeBoundaryPoint(const RangeBoundaryPoint&); 40 explicit RangeBoundaryPoint(const RangeBoundaryPoint&);
41 41
42 const Position toPosition() const; 42 const Position toPosition() const;
43 43
44 Node* container() const; 44 Node* container() const;
45 int offset() const; 45 int offset() const;
46 Node* childBefore() const; 46 Node* childBefore() const;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } else { 196 } else {
197 if (a.offset() != b.offset()) 197 if (a.offset() != b.offset())
198 return false; 198 return false;
199 } 199 }
200 return true; 200 return true;
201 } 201 }
202 202
203 } 203 }
204 204
205 #endif 205 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/QualifiedName.h ('k') | third_party/WebKit/Source/core/dom/SelectorQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698