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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/user_model.h

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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
Index: third_party/WebKit/Source/platform/scheduler/renderer/user_model.h
diff --git a/components/scheduler/renderer/user_model.h b/third_party/WebKit/Source/platform/scheduler/renderer/user_model.h
similarity index 84%
rename from components/scheduler/renderer/user_model.h
rename to third_party/WebKit/Source/platform/scheduler/renderer/user_model.h
index f93b10beadcfa0f2cfbffed5454f3d3e62b2ba35..c0b5d2e8c13b8e01eab830e3598fb3b07e038002 100644
--- a/components/scheduler/renderer/user_model.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/user_model.h
@@ -2,26 +2,27 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SCHEDULER_RENDERER_USER_MODEL_H_
-#define COMPONENTS_SCHEDULER_RENDERER_USER_MODEL_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_USER_MODEL_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_USER_MODEL_H_
#include "base/macros.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/trace_event_argument.h"
-#include "components/scheduler/renderer/renderer_scheduler.h"
-#include "components/scheduler/scheduler_export.h"
-#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "public/platform/scheduler/renderer/renderer_scheduler.h"
+#include "public/platform/WebCommon.h"
+#include "public/platform/WebInputEvent.h"
+namespace blink {
namespace scheduler {
-class SCHEDULER_EXPORT UserModel {
+class BLINK_PLATFORM_EXPORT UserModel {
public:
UserModel();
~UserModel();
// Tells us that the system started processing an input event. Must be paired
// with a call to DidFinishProcessingInputEvent.
- void DidStartProcessingInputEvent(blink::WebInputEvent::Type type,
+ void DidStartProcessingInputEvent(WebInputEvent::Type type,
const base::TimeTicks now);
// Tells us that the system finished processing an input event.
@@ -80,5 +81,6 @@ class SCHEDULER_EXPORT UserModel {
};
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_RENDERER_USER_MODEL_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_USER_MODEL_H_

Powered by Google App Engine
This is Rietveld 408576698