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

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

Issue 2677003002: Foward declare blink::mojom::EngagementLevel in Document.h (Closed)
Patch Set: move <memory> to bottom 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 cef1413cc304fe07171fba0db17eeea9d28a7c6d..fcfb3ff26bf8ce2963edfe47902cd6ecdae24555 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;
@@ -1201,10 +1204,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