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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index 13137450a7607b6a13a482ad6800cc33154b1ff5..7e6bd3c1d5acb55448da914c661db784dd404b77 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -526,8 +526,9 @@ bool WebPluginContainerImpl::isRectTopmost(const WebRect& rect) {
LayoutSize padding((documentRect.width() - 1) / 2,
(documentRect.height() - 1) / 2);
HitTestResult result = frame->eventHandler().hitTestResultAtPoint(
- center, HitTestRequest::ReadOnly | HitTestRequest::Active |
- HitTestRequest::ListBased,
+ center,
+ HitTestRequest::ReadOnly | HitTestRequest::Active |
+ HitTestRequest::ListBased,
padding);
const HitTestResult::NodeSet& nodes = result.listBasedTestResult();
if (nodes.size() != 1)
@@ -788,8 +789,9 @@ void WebPluginContainerImpl::handleKeyboardEvent(KeyboardEvent* event) {
if ((webEvent.modifiers() & WebInputEvent::InputModifiers) ==
WebInputEvent::ControlKey
#endif
- && (webEvent.windowsKeyCode == VKEY_C ||
- webEvent.windowsKeyCode == VKEY_INSERT)
+ &&
+ (webEvent.windowsKeyCode == VKEY_C ||
+ webEvent.windowsKeyCode == VKEY_INSERT)
// Only copy if there's a selection, so that we only ever do this
// for Pepper plugins that support copying. Windowless NPAPI
// plugins will get the event as before.
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698