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

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

Issue 2078143002: Make plugin elements return false from canStartSelection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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.h
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
index 77957923a4302a62789a8fc9543f42a1c0967ad9..a07a5e2ed84f1746640b8c127d456a9c007622aa 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -104,6 +104,7 @@ private:
// Node functions:
bool canContainRangeEndPoint() const override { return false; }
+ bool canStartSelection() const override { return false; }
yosin_UTC9 2016/06/21 08:09:32 HTMLPluginElement::canStartSelection() should retu
aelias_OOO_until_Jul13 2016/06/21 22:07:50 Switched to check useFallbackContent(). For testi
bool willRespondToMouseClickEvents() final;
void defaultEventHandler(Event*) final;
void attach(const AttachContext& = AttachContext()) final;

Powered by Google App Engine
This is Rietveld 408576698