| OLD | NEW |
| 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 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1454 unsigned Internals::numberOfLiveNodes() const | 1454 unsigned Internals::numberOfLiveNodes() const |
| 1455 { | 1455 { |
| 1456 return InspectorCounters::counterValue(InspectorCounters::NodeCounter); | 1456 return InspectorCounters::counterValue(InspectorCounters::NodeCounter); |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 unsigned Internals::numberOfLiveDocuments() const | 1459 unsigned Internals::numberOfLiveDocuments() const |
| 1460 { | 1460 { |
| 1461 return InspectorCounters::counterValue(InspectorCounters::DocumentCounter); | 1461 return InspectorCounters::counterValue(InspectorCounters::DocumentCounter); |
| 1462 } | 1462 } |
| 1463 | 1463 |
| 1464 unsigned Internals::numberOfLiveAXObjects() const |
| 1465 { |
| 1466 return AXObjectCache::numberOfLiveAXObjects(); |
| 1467 } |
| 1468 |
| 1464 String Internals::dumpRefCountedInstanceCounts() const | 1469 String Internals::dumpRefCountedInstanceCounts() const |
| 1465 { | 1470 { |
| 1466 return WTF::dumpRefCountedInstanceCounts(); | 1471 return WTF::dumpRefCountedInstanceCounts(); |
| 1467 } | 1472 } |
| 1468 | 1473 |
| 1469 Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const | 1474 Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const |
| 1470 { | 1475 { |
| 1471 FrameHost* host = document->frameHost(); | 1476 FrameHost* host = document->frameHost(); |
| 1472 if (!host) | 1477 if (!host) |
| 1473 return Vector<String>(); | 1478 return Vector<String>(); |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2364 | 2369 |
| 2365 ClientRectList* Internals::focusRingRects(Element* element) | 2370 ClientRectList* Internals::focusRingRects(Element* element) |
| 2366 { | 2371 { |
| 2367 Vector<LayoutRect> rects; | 2372 Vector<LayoutRect> rects; |
| 2368 if (element && element->layoutObject()) | 2373 if (element && element->layoutObject()) |
| 2369 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); | 2374 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); |
| 2370 return ClientRectList::create(rects); | 2375 return ClientRectList::create(rects); |
| 2371 } | 2376 } |
| 2372 | 2377 |
| 2373 } // namespace blink | 2378 } // namespace blink |
| OLD | NEW |