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 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2357 String Internals::unscopeableAttribute() | 2357 String Internals::unscopeableAttribute() |
2358 { | 2358 { |
2359 return "unscopeableAttribute"; | 2359 return "unscopeableAttribute"; |
2360 } | 2360 } |
2361 | 2361 |
2362 String Internals::unscopeableMethod() | 2362 String Internals::unscopeableMethod() |
2363 { | 2363 { |
2364 return "unscopeableMethod"; | 2364 return "unscopeableMethod"; |
2365 } | 2365 } |
2366 | 2366 |
| 2367 ClientRectList* Internals::focusRingRects(Element* element) |
| 2368 { |
| 2369 Vector<LayoutRect> rects; |
| 2370 if (element && element->layoutObject()) |
| 2371 element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); |
| 2372 return ClientRectList::create(rects); |
| 2373 } |
| 2374 |
2367 } // namespace blink | 2375 } // namespace blink |
OLD | NEW |