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

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

Issue 790673006: Delete focused by mouse code. (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
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = 0); 479 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = 0);
480 bool dispatchGestureEvent(const PlatformGestureEvent&); 480 bool dispatchGestureEvent(const PlatformGestureEvent&);
481 bool dispatchTouchEvent(PassRefPtr<TouchEvent>); 481 bool dispatchTouchEvent(PassRefPtr<TouchEvent>);
482 482
483 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents); 483 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents);
484 484
485 void dispatchInputEvent(); 485 void dispatchInputEvent();
486 486
487 // Perform the default action for an event. 487 // Perform the default action for an event.
488 virtual void defaultEventHandler(Event*); 488 virtual void defaultEventHandler(Event*);
489 virtual void willCallDefaultEventHandler(const Event&);
490 489
491 virtual EventTargetData* eventTargetData() override; 490 virtual EventTargetData* eventTargetData() override;
492 virtual EventTargetData& ensureEventTargetData() override; 491 virtual EventTargetData& ensureEventTargetData() override;
493 492
494 void getRegisteredMutationObserversOfType(HashMap<RawPtr<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const Qualified Name* attributeName); 493 void getRegisteredMutationObserversOfType(HashMap<RawPtr<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const Qualified Name* attributeName);
495 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter); 494 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter);
496 void unregisterMutationObserver(MutationObserverRegistration*); 495 void unregisterMutationObserver(MutationObserverRegistration*);
497 void registerTransientMutationObserver(MutationObserverRegistration*); 496 void registerTransientMutationObserver(MutationObserverRegistration*);
498 void unregisterTransientMutationObserver(MutationObserverRegistration*); 497 void unregisterTransientMutationObserver(MutationObserverRegistration*);
499 void notifyMutationObserversNodeWillDetach(); 498 void notifyMutationObserversNodeWillDetach();
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 } // namespace blink 705 } // namespace blink
707 706
708 #ifndef NDEBUG 707 #ifndef NDEBUG
709 // Outside the WebCore namespace for ease of invocation from gdb. 708 // Outside the WebCore namespace for ease of invocation from gdb.
710 void showNode(const blink::Node*); 709 void showNode(const blink::Node*);
711 void showTree(const blink::Node*); 710 void showTree(const blink::Node*);
712 void showNodePath(const blink::Node*); 711 void showNodePath(const blink::Node*);
713 #endif 712 #endif
714 713
715 #endif // SKY_ENGINE_CORE_DOM_NODE_H_ 714 #endif // SKY_ENGINE_CORE_DOM_NODE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698