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

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

Issue 2341673004: [Binding] Replace 'Unscopeable' with 'Unscopable' (Closed)
Patch Set: . Created 4 years, 3 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
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 2551 matching lines...) Expand 10 before | Expand all | Expand 10 after
2562 if (useCounterId < 0 || useCounterId >= UseCounter::NumberOfFeatures) 2562 if (useCounterId < 0 || useCounterId >= UseCounter::NumberOfFeatures)
2563 return false; 2563 return false;
2564 return UseCounter::isCounted(*document, static_cast<UseCounter::Feature>(use CounterId)); 2564 return UseCounter::isCounted(*document, static_cast<UseCounter::Feature>(use CounterId));
2565 } 2565 }
2566 2566
2567 bool Internals::isCSSPropertyUseCounted(Document* document, const String& proper tyName) 2567 bool Internals::isCSSPropertyUseCounted(Document* document, const String& proper tyName)
2568 { 2568 {
2569 return UseCounter::isCounted(*document, propertyName); 2569 return UseCounter::isCounted(*document, propertyName);
2570 } 2570 }
2571 2571
2572 String Internals::unscopeableAttribute() 2572 String Internals::unscopableAttribute()
2573 { 2573 {
2574 return "unscopeableAttribute"; 2574 return "unscopableAttribute";
2575 } 2575 }
2576 2576
2577 String Internals::unscopeableMethod() 2577 String Internals::unscopableMethod()
2578 { 2578 {
2579 return "unscopeableMethod"; 2579 return "unscopableMethod";
2580 } 2580 }
2581 2581
2582 ClientRectList* Internals::focusRingRects(Element* element) 2582 ClientRectList* Internals::focusRingRects(Element* element)
2583 { 2583 {
2584 Vector<LayoutRect> rects; 2584 Vector<LayoutRect> rects;
2585 if (element && element->layoutObject()) 2585 if (element && element->layoutObject())
2586 element->layoutObject()->addOutlineRects(rects, LayoutPoint(), LayoutObj ect::IncludeBlockVisualOverflow); 2586 element->layoutObject()->addOutlineRects(rects, LayoutPoint(), LayoutObj ect::IncludeBlockVisualOverflow);
2587 return ClientRectList::create(rects); 2587 return ClientRectList::create(rects);
2588 } 2588 }
2589 2589
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
2653 2653
2654 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); 2654 return ClientRect::create(FloatRect(node->layoutObject()->visualRect()));
2655 } 2655 }
2656 2656
2657 void Internals::crash() 2657 void Internals::crash()
2658 { 2658 {
2659 CHECK(false) << "Intentional crash"; 2659 CHECK(false) << "Intentional crash";
2660 } 2660 }
2661 2661
2662 } // namespace blink 2662 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698