Chromium Code Reviews| 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..03b4a56de51f63a60e97eabdfcf05a47241d31a6 |
| --- /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: |
| + WebDocument(const blink::WebDocument& web_document); |
|
alex clarke (OOO till 29th)
2015/11/19 18:17:54
nit: explicit
altimin
2015/11/19 18:36:24
Done.
|
| + |
| + protected: |
| + blink::WebDocument& web_document(); |
| + const blink::WebDocument& web_document() const; |
| +}; |
| + |
| +} // namespace headless |
| + |
| +#endif // HEADLESS_PUBLIC_WEB_DOCUMENT_H_ |