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

Unified Diff: headless/public/web_document.h

Issue 1430673002: Headless demo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better javascript Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/public/web_contents.h ('k') | headless/public/web_element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/web_document.h
diff --git a/headless/public/web_document.h b/headless/public/web_document.h
new file mode 100644
index 0000000000000000000000000000000000000000..45b91ebceaf89c4540d3ecf721066fafb61e5e0b
--- /dev/null
+++ b/headless/public/web_document.h
@@ -0,0 +1,28 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef HEADLESS_PUBLIC_WEB_DOCUMENT_H_
+#define HEADLESS_PUBLIC_WEB_DOCUMENT_H_
+
+#include "headless/public/headless_export.h"
+#include "headless/public/web_node.h"
+
+namespace blink {
+class WebDocument;
+}
+
+namespace headless {
+
+class HEADLESS_EXPORT WebDocument : public WebNode {
+ public:
+ explicit WebDocument(const blink::WebDocument& web_document);
+
+ protected:
+ blink::WebDocument& web_document();
+ const blink::WebDocument& web_document() const;
+};
+
+} // namespace headless
+
+#endif // HEADLESS_PUBLIC_WEB_DOCUMENT_H_
« no previous file with comments | « headless/public/web_contents.h ('k') | headless/public/web_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698