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

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

Issue 1115923002: workers: Rename WorkerThread to WorkerScript. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 7 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 #include "core/testing/DictionaryTest.h" 120 #include "core/testing/DictionaryTest.h"
121 #include "core/testing/GCObservation.h" 121 #include "core/testing/GCObservation.h"
122 #include "core/testing/InternalRuntimeFlags.h" 122 #include "core/testing/InternalRuntimeFlags.h"
123 #include "core/testing/InternalSettings.h" 123 #include "core/testing/InternalSettings.h"
124 #include "core/testing/LayerRect.h" 124 #include "core/testing/LayerRect.h"
125 #include "core/testing/LayerRectList.h" 125 #include "core/testing/LayerRectList.h"
126 #include "core/testing/PluginPlaceholderOptions.h" 126 #include "core/testing/PluginPlaceholderOptions.h"
127 #include "core/testing/PrivateScriptTest.h" 127 #include "core/testing/PrivateScriptTest.h"
128 #include "core/testing/TypeConversions.h" 128 #include "core/testing/TypeConversions.h"
129 #include "core/testing/UnionTypesTest.h" 129 #include "core/testing/UnionTypesTest.h"
130 #include "core/workers/WorkerThread.h" 130 #include "core/workers/WorkerScript.h"
131 #include "platform/Cursor.h" 131 #include "platform/Cursor.h"
132 #include "platform/Language.h" 132 #include "platform/Language.h"
133 #include "platform/RuntimeEnabledFeatures.h" 133 #include "platform/RuntimeEnabledFeatures.h"
134 #include "platform/TraceEvent.h" 134 #include "platform/TraceEvent.h"
135 #include "platform/geometry/IntRect.h" 135 #include "platform/geometry/IntRect.h"
136 #include "platform/geometry/LayoutRect.h" 136 #include "platform/geometry/LayoutRect.h"
137 #include "platform/graphics/GraphicsLayer.h" 137 #include "platform/graphics/GraphicsLayer.h"
138 #include "platform/graphics/filters/FilterOperation.h" 138 #include "platform/graphics/filters/FilterOperation.h"
139 #include "platform/graphics/filters/FilterOperations.h" 139 #include "platform/graphics/filters/FilterOperations.h"
140 #include "platform/heap/Handle.h" 140 #include "platform/heap/Handle.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 return InternalSettings::from(*page); 249 return InternalSettings::from(*page);
250 } 250 }
251 251
252 InternalRuntimeFlags* Internals::runtimeFlags() const 252 InternalRuntimeFlags* Internals::runtimeFlags() const
253 { 253 {
254 return m_runtimeFlags.get(); 254 return m_runtimeFlags.get();
255 } 255 }
256 256
257 unsigned Internals::workerThreadCount() const 257 unsigned Internals::workerThreadCount() const
258 { 258 {
259 return WorkerThread::workerThreadCount(); 259 return WorkerScript::workerScriptCount();
260 } 260 }
261 261
262 String Internals::address(Node* node) 262 String Internals::address(Node* node)
263 { 263 {
264 char buf[32]; 264 char buf[32];
265 sprintf(buf, "%p", node); 265 sprintf(buf, "%p", node);
266 266
267 return String(buf); 267 return String(buf);
268 } 268 }
269 269
(...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2361 2361
2362 ClientRectList* Internals::focusRingRects(Element* element) 2362 ClientRectList* Internals::focusRingRects(Element* element)
2363 { 2363 {
2364 Vector<LayoutRect> rects; 2364 Vector<LayoutRect> rects;
2365 if (element && element->layoutObject()) 2365 if (element && element->layoutObject())
2366 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); 2366 element->layoutObject()->addFocusRingRects(rects, LayoutPoint());
2367 return ClientRectList::create(rects); 2367 return ClientRectList::create(rects);
2368 } 2368 }
2369 2369
2370 } // namespace blink 2370 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698