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

Side by Side Diff: Source/platform/PODIntervalTree.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/PODInterval.h ('k') | Source/platform/PODIntervalTreeTest.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 15 matching lines...) Expand all
26 #ifndef PODIntervalTree_h 26 #ifndef PODIntervalTree_h
27 #define PODIntervalTree_h 27 #define PODIntervalTree_h
28 28
29 #include "platform/PODArena.h" 29 #include "platform/PODArena.h"
30 #include "platform/PODInterval.h" 30 #include "platform/PODInterval.h"
31 #include "platform/PODRedBlackTree.h" 31 #include "platform/PODRedBlackTree.h"
32 #include "wtf/Assertions.h" 32 #include "wtf/Assertions.h"
33 #include "wtf/Noncopyable.h" 33 #include "wtf/Noncopyable.h"
34 #include "wtf/Vector.h" 34 #include "wtf/Vector.h"
35 35
36 namespace WebCore { 36 namespace blink {
37 37
38 #ifndef NDEBUG 38 #ifndef NDEBUG
39 template<class T> 39 template<class T>
40 struct ValueToString; 40 struct ValueToString;
41 #endif 41 #endif
42 42
43 template <class T, class UserData = void*> 43 template <class T, class UserData = void*>
44 class PODIntervalSearchAdapter { 44 class PODIntervalSearchAdapter {
45 public: 45 public:
46 typedef PODInterval<T, UserData> IntervalType; 46 typedef PODInterval<T, UserData> IntervalType;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // Support for printing PODIntervals at the PODRedBlackTree level. 255 // Support for printing PODIntervals at the PODRedBlackTree level.
256 template<class T, class UserData> 256 template<class T, class UserData>
257 struct ValueToString<PODInterval<T, UserData> > { 257 struct ValueToString<PODInterval<T, UserData> > {
258 static String string(const PODInterval<T, UserData>& interval) 258 static String string(const PODInterval<T, UserData>& interval)
259 { 259 {
260 return interval.toString(); 260 return interval.toString();
261 } 261 }
262 }; 262 };
263 #endif 263 #endif
264 264
265 } // namespace WebCore 265 } // namespace blink
266 266
267 #endif // PODIntervalTree_h 267 #endif // PODIntervalTree_h
OLDNEW
« no previous file with comments | « Source/platform/PODInterval.h ('k') | Source/platform/PODIntervalTreeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698