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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.h

Issue 2389643002: Reflow comments in core/fetch (Closed)
Patch Set: yoavs comments 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/fetch/ImageResource.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h
index ec45c73e503bea2eac95cdb0078d153ed2df8892..b0ca7bfe8ff8d9e092ecf6b5fe04700eccc71e67 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h
@@ -75,8 +75,8 @@ class CORE_EXPORT ImageResource final
bool hasImage() const { return m_image.get(); }
static std::pair<blink::Image*, float> brokenImage(
- float
- deviceScaleFactor); // Returns an image and the image's resolution scale factor.
+ float deviceScaleFactor); // Returns an image and the image's resolution
+ // scale factor.
bool willPaintBrokenImage() const;
bool usesImageContainerSize() const;
@@ -90,10 +90,15 @@ class CORE_EXPORT ImageResource final
}
enum SizeType {
- IntrinsicSize, // Report the intrinsic size.
- IntrinsicCorrectedToDPR, // Report the intrinsic size corrected to account for image density.
+ // Report the intrinsic size.
+ IntrinsicSize,
+
+ // Report the intrinsic size corrected to account for image density.
+ IntrinsicCorrectedToDPR,
};
- // This method takes a zoom multiplier that can be used to increase the natural size of the image by the zoom.
+
+ // This method takes a zoom multiplier that can be used to increase the
+ // natural size of the image by the zoom.
LayoutSize imageSize(
RespectImageOrientationEnum shouldRespectImageOrientation,
float multiplier,
@@ -103,8 +108,8 @@ class CORE_EXPORT ImageResource final
void updateImageAnimationPolicy();
- // If this ImageResource has the Lo-Fi response headers, reload it with
- // the Lo-Fi state set to off and bypassing the cache.
+ // If this ImageResource has the Lo-Fi response headers, reload it with the
+ // Lo-Fi state set to off and bypassing the cache.
void reloadIfLoFi(ResourceFetcher*);
void didAddClient(ResourceClient*) override;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FetchRequest.cpp ('k') | third_party/WebKit/Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698