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

Unified Diff: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp

Issue 2389633002: reflow comments in web/ (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/web/ContextMenuClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
index 47bd1c8b0e1f1bdb6c9d36ff352c47598eb04f7e..02fa31866838505e4ab8ffb276f5ba349233669b 100644
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
@@ -86,8 +86,8 @@
namespace blink {
// Figure out the URL of a page or subframe. Returns |page_type| as the type,
-// which indicates page or subframe, or ContextNodeType::kNone if the URL could not
-// be determined for some reason.
+// which indicates page or subframe, or ContextNodeType::kNone if the URL could
+// not be determined for some reason.
static WebURL urlFromFrame(LocalFrame* frame) {
if (frame) {
DocumentLoader* dl = frame->loader().documentLoader();
@@ -362,7 +362,8 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu,
// Extract suggested filename for saving file.
data.suggestedFilename = anchor->fastGetAttribute(HTMLNames::downloadAttr);
- // If the anchor wants to suppress the referrer, update the referrerPolicy accordingly.
+ // If the anchor wants to suppress the referrer, update the referrerPolicy
+ // accordingly.
if (anchor->hasRel(RelationNoReferrer))
data.referrerPolicy = WebReferrerPolicyNever;
« no previous file with comments | « third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp ('k') | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698