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

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

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 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/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('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) 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 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after
2235 return; 2235 return;
2236 } 2236 }
2237 networkStateNotifier().setWebConnectionTypeForTest(webtype); 2237 networkStateNotifier().setWebConnectionTypeForTest(webtype);
2238 } 2238 }
2239 2239
2240 unsigned Internals::countHitRegions(CanvasRenderingContext2D* context) 2240 unsigned Internals::countHitRegions(CanvasRenderingContext2D* context)
2241 { 2241 {
2242 return context->hitRegionsCount(); 2242 return context->hitRegionsCount();
2243 } 2243 }
2244 2244
2245 PassRefPtrWillBeRawPtr<ClientRect> Internals::boundsInRootViewSpace(Element* ele ment) 2245 PassRefPtrWillBeRawPtr<ClientRect> Internals::boundsInViewportSpace(Element* ele ment)
2246 { 2246 {
2247 ASSERT(element); 2247 ASSERT(element);
2248 return ClientRect::create(element->boundsInRootViewSpace()); 2248 return ClientRect::create(element->boundsInViewportSpace());
2249 } 2249 }
2250 2250
2251 String Internals::serializeNavigationMarkup() 2251 String Internals::serializeNavigationMarkup()
2252 { 2252 {
2253 Vector<Document::TransitionElementData> elementData; 2253 Vector<Document::TransitionElementData> elementData;
2254 frame()->document()->getTransitionElementData(elementData); 2254 frame()->document()->getTransitionElementData(elementData);
2255 2255
2256 StringBuilder markup; 2256 StringBuilder markup;
2257 for (const auto& element : elementData) 2257 for (const auto& element : elementData)
2258 markup.append(element.markup); 2258 markup.append(element.markup);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 { 2336 {
2337 ThreadState::current()->schedulePreciseGC(); 2337 ThreadState::current()->schedulePreciseGC();
2338 } 2338 }
2339 2339
2340 ValueIterable<int>::IterationSource* Internals::startIteration(ScriptState*, Exc eptionState&) 2340 ValueIterable<int>::IterationSource* Internals::startIteration(ScriptState*, Exc eptionState&)
2341 { 2341 {
2342 return new InternalsIterationSource(); 2342 return new InternalsIterationSource();
2343 } 2343 }
2344 2344
2345 } // namespace blink 2345 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698