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

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

Issue 872233002: Switch KeyboardEvents over to NewEventHandler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename virtualKeyCode to key 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
« no previous file with comments | « examples/browser/browser.sky ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class ExceptionState; 53 class ExceptionState;
54 class FloatPoint; 54 class FloatPoint;
55 class LocalFrame; 55 class LocalFrame;
56 class HTMLQualifiedName; 56 class HTMLQualifiedName;
57 class IntRect; 57 class IntRect;
58 class KeyboardEvent; 58 class KeyboardEvent;
59 class NSResolver; 59 class NSResolver;
60 class NodeEventContext; 60 class NodeEventContext;
61 class NodeList; 61 class NodeList;
62 class NodeRareData; 62 class NodeRareData;
63 class PlatformKeyboardEvent;
64 class QualifiedName; 63 class QualifiedName;
65 class RegisteredEventListener; 64 class RegisteredEventListener;
66 class RenderBox; 65 class RenderBox;
67 class RenderBoxModelObject; 66 class RenderBoxModelObject;
68 class RenderObject; 67 class RenderObject;
69 class RenderStyle; 68 class RenderStyle;
70 class ShadowRoot; 69 class ShadowRoot;
71 template <typename NodeType> class StaticNodeTypeList; 70 template <typename NodeType> class StaticNodeTypeList;
72 typedef StaticNodeTypeList<Node> StaticNodeList; 71 typedef StaticNodeTypeList<Node> StaticNodeList;
73 class Text; 72 class Text;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 455
457 using EventTarget::dispatchEvent; 456 using EventTarget::dispatchEvent;
458 virtual bool dispatchEvent(PassRefPtr<Event>) override; 457 virtual bool dispatchEvent(PassRefPtr<Event>) override;
459 458
460 void dispatchScopedEvent(PassRefPtr<Event>); 459 void dispatchScopedEvent(PassRefPtr<Event>);
461 void dispatchScopedEventDispatchMediator(PassRefPtr<EventDispatchMediator>); 460 void dispatchScopedEventDispatchMediator(PassRefPtr<EventDispatchMediator>);
462 461
463 virtual void handleLocalEvents(Event*); 462 virtual void handleLocalEvents(Event*);
464 463
465 bool dispatchDOMActivateEvent(int detail, PassRefPtr<Event> underlyingEvent) ; 464 bool dispatchDOMActivateEvent(int detail, PassRefPtr<Event> underlyingEvent) ;
466
467 bool dispatchKeyEvent(const PlatformKeyboardEvent&);
468
469 void dispatchInputEvent(); 465 void dispatchInputEvent();
470 466
471 // Perform the default action for an event. 467 // Perform the default action for an event.
472 virtual void defaultEventHandler(Event*); 468 virtual void defaultEventHandler(Event*);
473 469
474 virtual EventTargetData* eventTargetData() override; 470 virtual EventTargetData* eventTargetData() override;
475 virtual EventTargetData& ensureEventTargetData() override; 471 virtual EventTargetData& ensureEventTargetData() override;
476 472
477 void getRegisteredMutationObserversOfType(HashMap<RawPtr<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const Qualified Name* attributeName); 473 void getRegisteredMutationObserversOfType(HashMap<RawPtr<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const Qualified Name* attributeName);
478 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter); 474 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 } // namespace blink 683 } // namespace blink
688 684
689 #ifndef NDEBUG 685 #ifndef NDEBUG
690 // Outside the WebCore namespace for ease of invocation from gdb. 686 // Outside the WebCore namespace for ease of invocation from gdb.
691 void showNode(const blink::Node*); 687 void showNode(const blink::Node*);
692 void showTree(const blink::Node*); 688 void showTree(const blink::Node*);
693 void showNodePath(const blink::Node*); 689 void showNodePath(const blink::Node*);
694 #endif 690 #endif
695 691
696 #endif // SKY_ENGINE_CORE_DOM_NODE_H_ 692 #endif // SKY_ENGINE_CORE_DOM_NODE_H_
OLDNEW
« no previous file with comments | « examples/browser/browser.sky ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698