| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 #include "core/html/HTMLInputElement.h" | 86 #include "core/html/HTMLInputElement.h" |
| 87 #include "core/html/HTMLMediaElement.h" | 87 #include "core/html/HTMLMediaElement.h" |
| 88 #include "core/html/HTMLPlugInElement.h" | 88 #include "core/html/HTMLPlugInElement.h" |
| 89 #include "core/html/HTMLSelectElement.h" | 89 #include "core/html/HTMLSelectElement.h" |
| 90 #include "core/html/HTMLTextAreaElement.h" | 90 #include "core/html/HTMLTextAreaElement.h" |
| 91 #include "core/html/canvas/CanvasRenderingContext2D.h" | 91 #include "core/html/canvas/CanvasRenderingContext2D.h" |
| 92 #include "core/html/forms/FormController.h" | 92 #include "core/html/forms/FormController.h" |
| 93 #include "core/html/shadow/PluginPlaceholderElement.h" | 93 #include "core/html/shadow/PluginPlaceholderElement.h" |
| 94 #include "core/html/shadow/ShadowElementNames.h" | 94 #include "core/html/shadow/ShadowElementNames.h" |
| 95 #include "core/html/shadow/TextControlInnerElements.h" | 95 #include "core/html/shadow/TextControlInnerElements.h" |
| 96 #include "core/input/EventHandler.h" |
| 96 #include "core/inspector/ConsoleMessageStorage.h" | 97 #include "core/inspector/ConsoleMessageStorage.h" |
| 97 #include "core/inspector/InspectorConsoleAgent.h" | 98 #include "core/inspector/InspectorConsoleAgent.h" |
| 98 #include "core/inspector/InspectorCounters.h" | 99 #include "core/inspector/InspectorCounters.h" |
| 99 #include "core/inspector/InspectorFrontendChannel.h" | 100 #include "core/inspector/InspectorFrontendChannel.h" |
| 100 #include "core/inspector/InspectorInstrumentation.h" | 101 #include "core/inspector/InspectorInstrumentation.h" |
| 101 #include "core/inspector/InspectorOverlay.h" | 102 #include "core/inspector/InspectorOverlay.h" |
| 102 #include "core/inspector/InstrumentingAgents.h" | 103 #include "core/inspector/InstrumentingAgents.h" |
| 103 #include "core/layout/LayoutMenuList.h" | 104 #include "core/layout/LayoutMenuList.h" |
| 104 #include "core/layout/LayoutObject.h" | 105 #include "core/layout/LayoutObject.h" |
| 105 #include "core/layout/LayoutTreeAsText.h" | 106 #include "core/layout/LayoutTreeAsText.h" |
| 106 #include "core/layout/LayoutView.h" | 107 #include "core/layout/LayoutView.h" |
| 107 #include "core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h" | 108 #include "core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h" |
| 108 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" | 109 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" |
| 109 #include "core/loader/FrameLoader.h" | 110 #include "core/loader/FrameLoader.h" |
| 110 #include "core/loader/HistoryItem.h" | 111 #include "core/loader/HistoryItem.h" |
| 111 #include "core/page/ChromeClient.h" | 112 #include "core/page/ChromeClient.h" |
| 112 #include "core/page/EventHandler.h" | |
| 113 #include "core/page/FocusController.h" | 113 #include "core/page/FocusController.h" |
| 114 #include "core/page/NetworkStateNotifier.h" | 114 #include "core/page/NetworkStateNotifier.h" |
| 115 #include "core/page/Page.h" | 115 #include "core/page/Page.h" |
| 116 #include "core/page/PrintContext.h" | 116 #include "core/page/PrintContext.h" |
| 117 #include "core/paint/DeprecatedPaintLayer.h" | 117 #include "core/paint/DeprecatedPaintLayer.h" |
| 118 #include "core/plugins/testing/DictionaryPluginPlaceholder.h" | 118 #include "core/plugins/testing/DictionaryPluginPlaceholder.h" |
| 119 #include "core/plugins/testing/DocumentFragmentPluginPlaceholder.h" | 119 #include "core/plugins/testing/DocumentFragmentPluginPlaceholder.h" |
| 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" |
| (...skipping 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2364 | 2364 |
| 2365 ClientRectList* Internals::focusRingRects(Element* element) | 2365 ClientRectList* Internals::focusRingRects(Element* element) |
| 2366 { | 2366 { |
| 2367 Vector<LayoutRect> rects; | 2367 Vector<LayoutRect> rects; |
| 2368 if (element && element->layoutObject()) | 2368 if (element && element->layoutObject()) |
| 2369 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); | 2369 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); |
| 2370 return ClientRectList::create(rects); | 2370 return ClientRectList::create(rects); |
| 2371 } | 2371 } |
| 2372 | 2372 |
| 2373 } // namespace blink | 2373 } // namespace blink |
| OLD | NEW |