| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved. | 2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 drawFocusRingPrimitive(primitive, canvas, flags, cornerRadius); | 356 drawFocusRingPrimitive(primitive, canvas, flags, cornerRadius); |
| 357 | 357 |
| 358 #if OS(MACOSX) | 358 #if OS(MACOSX) |
| 359 // Inner part | 359 // Inner part |
| 360 flags.setAlpha(128); | 360 flags.setAlpha(128); |
| 361 flags.setStrokeWidth(flags.getStrokeWidth() * 0.5f); | 361 flags.setStrokeWidth(flags.getStrokeWidth() * 0.5f); |
| 362 drawFocusRingPrimitive(primitive, canvas, flags, cornerRadius); | 362 drawFocusRingPrimitive(primitive, canvas, flags, cornerRadius); |
| 363 #endif | 363 #endif |
| 364 } | 364 } |
| 365 | 365 |
| 366 template void PLATFORM_EXPORT drawPlatformFocusRing<SkRect>(const SkRect&, | 366 template void PLATFORM_EXPORT DrawPlatformFocusRing<SkRect>(const SkRect&, |
| 367 PaintCanvas*, | 367 PaintCanvas*, |
| 368 SkColor, | 368 SkColor, |
| 369 float width); | 369 float width); |
| 370 template void PLATFORM_EXPORT drawPlatformFocusRing<SkPath>(const SkPath&, | 370 template void PLATFORM_EXPORT DrawPlatformFocusRing<SkPath>(const SkPath&, |
| 371 PaintCanvas*, | 371 PaintCanvas*, |
| 372 SkColor, | 372 SkColor, |
| 373 float width); | 373 float width); |
| 374 | 374 |
| 375 } // namespace blink | 375 } // namespace blink |
| OLD | NEW |