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

Unified Diff: third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/test/fake_renderer_scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h
diff --git a/third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h b/third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h
index e88a4b029ccfd01cb2ac01d6a65851f7e6a60e62..7cea544512870a2d923e4b1d24635f45e6b7b177 100644
--- a/third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h
+++ b/third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "cc/output/begin_frame_args.h"
+#include "public/platform/WebThread.h"
#include "public/platform/scheduler/renderer/renderer_scheduler.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -42,9 +43,8 @@ class MockRendererScheduler : public RendererScheduler {
MOCK_METHOD0(OnRendererForegrounded, void());
MOCK_METHOD0(SuspendRenderer, void());
MOCK_METHOD0(ResumeRenderer, void());
- MOCK_METHOD1(AddPendingNavigation, void(WebScheduler::NavigatingFrameType));
- MOCK_METHOD1(RemovePendingNavigation,
- void(WebScheduler::NavigatingFrameType));
+ MOCK_METHOD1(AddPendingNavigation, void(NavigatingFrameType));
+ MOCK_METHOD1(RemovePendingNavigation, void(NavigatingFrameType));
MOCK_METHOD0(OnNavigationStarted, void());
MOCK_METHOD0(IsHighPriorityWorkAnticipated, bool());
MOCK_CONST_METHOD0(CanExceedIdleDeadlineIfRequired, bool());
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/test/fake_renderer_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698