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

Unified Diff: sky/engine/core/dom/Element.cpp

Issue 870073003: Remove mouse events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/dom/Element.cpp
diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
index 2bfe0b646f04ec6c6553fc520ddaf457186323cd..54d9b46b1d269ed875a743756fb25aeca8f7ae44 100644
--- a/sky/engine/core/dom/Element.cpp
+++ b/sky/engine/core/dom/Element.cpp
@@ -314,12 +314,6 @@ void Element::setSpellcheck(bool enable)
setAttribute(HTMLNames::spellcheckAttr, enable ? "true" : "false");
}
-
-void Element::click()
-{
- dispatchSimulatedClick(0, SendNoEvents);
-}
-
// Returns the conforming 'dir' value associated with the state the attribute is in (in its canonical case), if any,
// or the empty string if the attribute is in a state that has no associated keyword value or if the attribute is
// not in a defined state (e.g. the attribute is missing and there is no missing value default).

Powered by Google App Engine
This is Rietveld 408576698