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

Side by Side Diff: Source/core/testing/Internals.h

Issue 112023010: Make EventHandler::ActiveIntervalTimer mockable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 unsigned locationFromRange(Element* scope, const Range*, ExceptionState&); 169 unsigned locationFromRange(Element* scope, const Range*, ExceptionState&);
170 unsigned lengthFromRange(Element* scope, const Range*, ExceptionState&); 170 unsigned lengthFromRange(Element* scope, const Range*, ExceptionState&);
171 String rangeAsText(const Range*, ExceptionState&); 171 String rangeAsText(const Range*, ExceptionState&);
172 172
173 PassRefPtr<DOMPoint> touchPositionAdjustedToBestClickableNode(long x, long y , long width, long height, Document*, ExceptionState&); 173 PassRefPtr<DOMPoint> touchPositionAdjustedToBestClickableNode(long x, long y , long width, long height, Document*, ExceptionState&);
174 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&); 174 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&);
175 PassRefPtr<DOMPoint> touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document*, ExceptionState&); 175 PassRefPtr<DOMPoint> touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document*, ExceptionState&);
176 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon g height, Document*, ExceptionState&); 176 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon g height, Document*, ExceptionState&);
177 PassRefPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, long y, long wi dth, long height, Document*, ExceptionState&); 177 PassRefPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, long y, long wi dth, long height, Document*, ExceptionState&);
178 178
179 void suspendActiveIntervalTimer(Document*, ExceptionState&);
180 void resumeActiveIntervalTimer(Document*, ExceptionState&);
181 void fireActiveIntervalTimer(Document*, ExceptionState&);
182
179 int lastSpellCheckRequestSequence(Document*, ExceptionState&); 183 int lastSpellCheckRequestSequence(Document*, ExceptionState&);
180 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); 184 int lastSpellCheckProcessedSequence(Document*, ExceptionState&);
181 185
182 Vector<String> userPreferredLanguages() const; 186 Vector<String> userPreferredLanguages() const;
183 void setUserPreferredLanguages(const Vector<String>&); 187 void setUserPreferredLanguages(const Vector<String>&);
184 188
185 unsigned wheelEventHandlerCount(Document*, ExceptionState&); 189 unsigned wheelEventHandlerCount(Document*, ExceptionState&);
186 unsigned touchEventHandlerCount(Document*, ExceptionState&); 190 unsigned touchEventHandlerCount(Document*, ExceptionState&);
187 PassRefPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionSta te&); 191 PassRefPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionSta te&);
188 192
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 RefPtr<DOMWindow> m_frontendWindow; 320 RefPtr<DOMWindow> m_frontendWindow;
317 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 321 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
318 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 322 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
319 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 323 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
320 RefPtr<InternalProfilers> m_profilers; 324 RefPtr<InternalProfilers> m_profilers;
321 }; 325 };
322 326
323 } // namespace WebCore 327 } // namespace WebCore
324 328
325 #endif 329 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698