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

Side by Side Diff: Source/core/testing/Internals.cpp

Issue 208263004: Move TraceEvent.h from platform/ to wtf/ Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 #include "core/rendering/RenderObject.h" 112 #include "core/rendering/RenderObject.h"
113 #include "core/rendering/RenderTreeAsText.h" 113 #include "core/rendering/RenderTreeAsText.h"
114 #include "core/rendering/RenderView.h" 114 #include "core/rendering/RenderView.h"
115 #include "core/rendering/compositing/CompositedLayerMapping.h" 115 #include "core/rendering/compositing/CompositedLayerMapping.h"
116 #include "core/rendering/compositing/RenderLayerCompositor.h" 116 #include "core/rendering/compositing/RenderLayerCompositor.h"
117 #include "core/testing/GCObservation.h" 117 #include "core/testing/GCObservation.h"
118 #include "core/workers/WorkerThread.h" 118 #include "core/workers/WorkerThread.h"
119 #include "platform/ColorChooser.h" 119 #include "platform/ColorChooser.h"
120 #include "platform/Cursor.h" 120 #include "platform/Cursor.h"
121 #include "platform/Language.h" 121 #include "platform/Language.h"
122 #include "platform/TraceEvent.h"
123 #include "platform/geometry/IntRect.h" 122 #include "platform/geometry/IntRect.h"
124 #include "platform/geometry/LayoutRect.h" 123 #include "platform/geometry/LayoutRect.h"
125 #include "platform/graphics/GraphicsLayer.h" 124 #include "platform/graphics/GraphicsLayer.h"
126 #include "platform/graphics/filters/FilterOperation.h" 125 #include "platform/graphics/filters/FilterOperation.h"
127 #include "platform/graphics/filters/FilterOperations.h" 126 #include "platform/graphics/filters/FilterOperations.h"
128 #include "platform/weborigin/SchemeRegistry.h" 127 #include "platform/weborigin/SchemeRegistry.h"
129 #include "public/platform/Platform.h" 128 #include "public/platform/Platform.h"
130 #include "public/platform/WebGraphicsContext3D.h" 129 #include "public/platform/WebGraphicsContext3D.h"
131 #include "public/platform/WebGraphicsContext3DProvider.h" 130 #include "public/platform/WebGraphicsContext3DProvider.h"
132 #include "public/platform/WebLayer.h" 131 #include "public/platform/WebLayer.h"
133 #include "wtf/InstanceCounter.h" 132 #include "wtf/InstanceCounter.h"
134 #include "wtf/PassOwnPtr.h" 133 #include "wtf/PassOwnPtr.h"
134 #include "wtf/TraceEvent.h"
135 #include "wtf/dtoa.h" 135 #include "wtf/dtoa.h"
136 #include "wtf/text/StringBuffer.h" 136 #include "wtf/text/StringBuffer.h"
137 137
138 namespace WebCore { 138 namespace WebCore {
139 139
140 // FIXME: oilpan: These will be removed soon. 140 // FIXME: oilpan: These will be removed soon.
141 static MockPagePopupDriver* s_pagePopupDriver = 0; 141 static MockPagePopupDriver* s_pagePopupDriver = 0;
142 142
143 using namespace HTMLNames; 143 using namespace HTMLNames;
144 144
(...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after
2443 } 2443 }
2444 2444
2445 String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long ma xLength) 2445 String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long ma xLength)
2446 { 2446 {
2447 blink::WebPoint point(x, y); 2447 blink::WebPoint point(x, y);
2448 SurroundingText surroundingText(VisiblePosition(node->renderer()->positionFo rPoint(static_cast<IntPoint>(point))), maxLength); 2448 SurroundingText surroundingText(VisiblePosition(node->renderer()->positionFo rPoint(static_cast<IntPoint>(point))), maxLength);
2449 return surroundingText.content(); 2449 return surroundingText.content();
2450 } 2450 }
2451 2451
2452 } 2452 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698