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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: 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/html/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index 308448ceae8a56c427a5502323784d2e393f3e6f..19a31667e9f13cb1e3e211d199d8f0facf9f5a8e 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -78,9 +78,9 @@ HTMLPlugInElement::HTMLPlugInElement(
: HTMLFrameOwnerElement(tagName, doc),
m_isDelayingLoadEvent(false),
// m_needsWidgetUpdate(!createdByParser) allows HTMLObjectElement to delay
- // widget updates until after all children are parsed. For HTMLEmbedElement
- // this delay is unnecessary, but it is simpler to make both classes share
- // the same codepath in this class.
+ // widget updates until after all children are parsed. For
+ // HTMLEmbedElement this delay is unnecessary, but it is simpler to make
+ // both classes share the same codepath in this class.
m_needsWidgetUpdate(!createdByParser),
m_shouldPreferPlugInsForImages(preferPlugInsForImagesOption ==
ShouldPreferPlugInsForImages) {}
@@ -541,9 +541,11 @@ bool HTMLPlugInElement::loadPlugin(const KURL& url,
}
document().setContainsPlugins();
- // TODO(esprehn): WebPluginContainerImpl::setWebLayer also schedules a compositing update, do we need both?
+ // TODO(esprehn): WebPluginContainerImpl::setWebLayer also schedules a
+ // compositing update, do we need both?
setNeedsCompositingUpdate();
- // Make sure any input event handlers introduced by the plugin are taken into account.
+ // Make sure any input event handlers introduced by the plugin are taken into
+ // account.
if (Page* page = document().frame()->page()) {
if (ScrollingCoordinator* scrollingCoordinator =
page->scrollingCoordinator())
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.h ('k') | third_party/WebKit/Source/core/html/HTMLProgressElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698