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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2698853002: [merge-m57] Forward declare blink::mojom::EngagementLevel in Document.h (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 6e97fee6aec46e9d930022df97d48afd77e3c235..2e0d21bf6f187ce51fd13beaab83ee5a45cb1b8f 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -63,7 +63,6 @@
#include "platform/weborigin/ReferrerPolicy.h"
#include "public/platform/WebFocusType.h"
#include "public/platform/WebInsecureRequestPolicy.h"
-#include "public/platform/site_engagement.mojom-blink.h"
#include "wtf/Compiler.h"
#include "wtf/HashSet.h"
#include "wtf/PassRefPtr.h"
@@ -71,6 +70,10 @@
namespace blink {
+namespace mojom {
+enum class EngagementLevel : int32_t;
+}
+
class AnimationClock;
class DocumentTimeline;
class AXObjectCache;
@@ -1200,10 +1203,10 @@ class CORE_EXPORT Document : public ContainerNode,
Document& ensureTemplateDocument();
Document* templateDocumentHost() { return m_templateDocumentHost; }
- mojom::blink::EngagementLevel getEngagementLevel() const {
+ mojom::EngagementLevel getEngagementLevel() const {
return m_engagementLevel;
}
- void setEngagementLevel(mojom::blink::EngagementLevel level) {
+ void setEngagementLevel(mojom::EngagementLevel level) {
m_engagementLevel = level;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698