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.h

Issue 2078143002: Make plugin elements return false from canStartSelection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix readonly-disabled-text-selection for changes in r401155 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..fd8eb0da11436ab44201db2025dda719692b6837 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;
bool willRespondToMouseClickEvents() final;
void defaultEventHandler(Event*) final;
void attach(const AttachContext& = AttachContext()) final;

Powered by Google App Engine
This is Rietveld 408576698