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

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

Issue 868133003: Remove touch 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
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/Document.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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 class ResourceFetcher; 110 class ResourceFetcher;
111 class ScriptRunner; 111 class ScriptRunner;
112 class ScriptedAnimationController; 112 class ScriptedAnimationController;
113 class SegmentedString; 113 class SegmentedString;
114 class SelectorQueryCache; 114 class SelectorQueryCache;
115 class SerializedScriptValue; 115 class SerializedScriptValue;
116 class Settings; 116 class Settings;
117 class StyleEngine; 117 class StyleEngine;
118 class StyleResolver; 118 class StyleResolver;
119 class Text; 119 class Text;
120 class Touch;
121 class TouchList;
122 class WebGLRenderingContext; 120 class WebGLRenderingContext;
123 121
124 struct AnnotatedRegionValue; 122 struct AnnotatedRegionValue;
125 123
126 typedef int ExceptionCode; 124 typedef int ExceptionCode;
127 125
128 enum DocumentClass { 126 enum DocumentClass {
129 DefaultDocumentClass = 0, 127 DefaultDocumentClass = 0,
130 HTMLDocumentClass = 1, 128 HTMLDocumentClass = 1,
131 MediaDocumentClass = 1 << 4, 129 MediaDocumentClass = 1 << 4,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 // Only one event for a target/event type combination will be dispatched per frame. 462 // Only one event for a target/event type combination will be dispatched per frame.
465 void enqueueUniqueAnimationFrameEvent(PassRefPtr<Event>); 463 void enqueueUniqueAnimationFrameEvent(PassRefPtr<Event>);
466 void enqueueMediaQueryChangeListeners(Vector<RefPtr<MediaQueryListListener> >&); 464 void enqueueMediaQueryChangeListeners(Vector<RefPtr<MediaQueryListListener> >&);
467 465
468 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event. 466 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event.
469 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 467 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
470 void decrementLoadEventDelayCount(); 468 void decrementLoadEventDelayCount();
471 void checkLoadEventSoon(); 469 void checkLoadEventSoon();
472 bool isDelayingLoadEvent(); 470 bool isDelayingLoadEvent();
473 471
474 PassRefPtr<Touch> createTouch(LocalDOMWindow*, EventTarget*, int identifier, double pageX, double pageY, double screenX, double screenY, double radiusX, dou ble radiusY, float rotationAngle, float force) const;
475 PassRefPtr<TouchList> createTouchList(Vector<RefPtr<Touch> >&) const;
476
477 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); 472 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>);
478 void cancelAnimationFrame(int id); 473 void cancelAnimationFrame(int id);
479 void serviceScriptedAnimations(double monotonicAnimationStartTime); 474 void serviceScriptedAnimations(double monotonicAnimationStartTime);
480 475
481 virtual EventTarget* errorEventTarget() override final; 476 virtual EventTarget* errorEventTarget() override final;
482 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCal lStack>) override final; 477 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCal lStack>) override final;
483 478
484 IntSize initialViewportSize() const; 479 IntSize initialViewportSize() const;
485 480
486 ScriptValue registerElement(ScriptState*, const AtomicString& name, Exceptio nState&); 481 ScriptValue registerElement(ScriptState*, const AtomicString& name, Exceptio nState&);
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 Node* eventTargetNodeForDocument(Document*); 769 Node* eventTargetNodeForDocument(Document*);
775 770
776 } // namespace blink 771 } // namespace blink
777 772
778 #ifndef NDEBUG 773 #ifndef NDEBUG
779 // Outside the WebCore namespace for ease of invocation from gdb. 774 // Outside the WebCore namespace for ease of invocation from gdb.
780 void showLiveDocumentInstances(); 775 void showLiveDocumentInstances();
781 #endif 776 #endif
782 777
783 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 778 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698