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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index 1c72248b08640e274dd43730b87f6a8ede270bc6..2d2af66ff9e7690b4d260d525d81c392ec7c8965 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -212,6 +212,8 @@ private:
static ContextFactoryVector& renderingContextFactories();
static CanvasRenderingContextFactory* getRenderingContextFactory(int);
+ bool canStartSelection() const override { return false; }
yosin_UTC9 2016/06/21 08:09:32 HTMLCanvasElement::canStartSelection() should retu
aelias_OOO_until_Jul13 2016/06/21 22:07:50 OK, I removed the canvas part of this patch -- it
+
void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicString&) override;
LayoutObject* createLayoutObject(const ComputedStyle&) override;
bool areAuthorShadowsAllowed() const override { return false; }

Powered by Google App Engine
This is Rietveld 408576698