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

Side by Side Diff: Source/core/animation/DocumentTimelineTest.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month 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
« no previous file with comments | « Source/bindings/v8/V8WindowShell.cpp ('k') | Source/core/animation/PlayerTest.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) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 #include "core/animation/DocumentTimeline.h" 32 #include "core/animation/DocumentTimeline.h"
33 33
34 #include "core/animation/Animation.h" 34 #include "core/animation/Animation.h"
35 #include "core/animation/AnimationClock.h" 35 #include "core/animation/AnimationClock.h"
36 #include "core/animation/KeyframeAnimationEffect.h" 36 #include "core/animation/KeyframeAnimationEffect.h"
37 #include "core/animation/TimedItem.h" 37 #include "core/animation/TimedItem.h"
38 #include "core/dom/Document.h" 38 #include "core/dom/Document.h"
39 #include "core/dom/Element.h" 39 #include "core/dom/Element.h"
40 #include "core/dom/QualifiedName.h" 40 #include "core/dom/QualifiedName.h"
41 #include "weborigin/KURL.h" 41 #include "platform/weborigin/KURL.h"
42 42
43 #include <gmock/gmock.h> 43 #include <gmock/gmock.h>
44 #include <gtest/gtest.h> 44 #include <gtest/gtest.h>
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 class MockPlatformTiming : public DocumentTimeline::PlatformTiming { 48 class MockPlatformTiming : public DocumentTimeline::PlatformTiming {
49 public: 49 public:
50 50
51 MOCK_METHOD1(wakeAfter, void(double)); 51 MOCK_METHOD1(wakeAfter, void(double));
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 updateClockAndService(1.5); 270 updateClockAndService(1.5);
271 271
272 EXPECT_CALL(*platformTiming, serviceOnNextFrame()); 272 EXPECT_CALL(*platformTiming, serviceOnNextFrame());
273 wake(); 273 wake();
274 274
275 platformTiming->expectNextFrameAction(); 275 platformTiming->expectNextFrameAction();
276 updateClockAndService(4.98); 276 updateClockAndService(4.98);
277 } 277 }
278 278
279 } 279 }
OLDNEW
« no previous file with comments | « Source/bindings/v8/V8WindowShell.cpp ('k') | Source/core/animation/PlayerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698