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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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) 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698