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

Side by Side Diff: sky/engine/core/dom/Element.h

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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 String contentEditable() const; 287 String contentEditable() const;
288 void setContentEditable(const String&, ExceptionState&); 288 void setContentEditable(const String&, ExceptionState&);
289 289
290 bool spellcheck() const; 290 bool spellcheck() const;
291 void setSpellcheck(bool); 291 void setSpellcheck(bool);
292 292
293 const AtomicString& dir(); 293 const AtomicString& dir();
294 void setDir(const AtomicString&); 294 void setDir(const AtomicString&);
295 295
296 void click();
297
298 protected: 296 protected:
299 Element(const QualifiedName& tagName, Document*, ConstructionType); 297 Element(const QualifiedName& tagName, Document*, ConstructionType);
300 298
301 const ElementData* elementData() const { return m_elementData.get(); } 299 const ElementData* elementData() const { return m_elementData.get(); }
302 UniqueElementData& ensureUniqueElementData(); 300 UniqueElementData& ensureUniqueElementData();
303 301
304 virtual void insertedInto(ContainerNode*) override; 302 virtual void insertedInto(ContainerNode*) override;
305 virtual void removedFrom(ContainerNode*) override; 303 virtual void removedFrom(ContainerNode*) override;
306 virtual void childrenChanged(const ChildrenChange&) override; 304 virtual void childrenChanged(const ChildrenChange&) override;
307 305
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 static PassRefPtr<T> create(const QualifiedName&, Document&) 589 static PassRefPtr<T> create(const QualifiedName&, Document&)
592 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 590 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
593 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 591 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \
594 { \ 592 { \
595 return adoptRef(new T(tagName, document)); \ 593 return adoptRef(new T(tagName, document)); \
596 } 594 }
597 595
598 } // namespace 596 } // namespace
599 597
600 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ 598 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698