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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm

Issue 2405633002: Reformat comments in core/layout (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
index 22334c97e2cd961eb2d6ba23b098e78e2554a34d..093eed34d3c13190d82a55e84caa3a315cc5bf74 100644
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
@@ -87,7 +87,8 @@
- (CFDictionaryRef)_coreUIDrawOptionsWithFrame:(NSRect)cellFrame
inView:(NSView*)controlView
includeFocus:(BOOL)includeFocus {
- // FIXME: This is a post-Lion-only workaround for <rdar://problem/11385461>. When that bug is resolved, we should remove this code.
+ // FIXME: This is a post-Lion-only workaround for <rdar://problem/11385461>.
+ // When that bug is resolved, we should remove this code.
CFMutableDictionaryRef coreUIDrawOptions = CFDictionaryCreateMutableCopy(
NULL, 0, [super _coreUIDrawOptionsWithFrame:cellFrame
inView:controlView
@@ -270,10 +271,12 @@ static RGBA32 convertNSColorToColor(NSColor* color) {
static_cast<int>(scaleFactor * [colorInColorSpace blueComponent]));
}
- // This conversion above can fail if the NSColor in question is an NSPatternColor
+ // This conversion above can fail if the NSColor in question is an
+ // NSPatternColor
// (as many system colors are). These colors are actually a repeating pattern
// not just a solid color. To work around this we simply draw a 1x1 image of
- // the color and use that pixel's color. It might be better to use an average of
+ // the color and use that pixel's color. It might be better to use an average
+ // of
// the colors in the pattern instead.
NSBitmapImageRep* offscreenRep =
[[NSBitmapImageRep alloc] initWithBitmapDataPlanes:nil
@@ -1066,7 +1069,8 @@ void LayoutThemeMac::adjustMediaSliderThumbSize(ComputedStyle& style) const {
}
String LayoutThemeMac::extraFullscreenStyleSheet() {
- // FIXME: Chromium may wish to style its default media controls differently in fullscreen.
+ // FIXME: Chromium may wish to style its default media controls differently in
+ // fullscreen.
return String();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.h ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMobile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698