Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef HEADLESS_PUBLIC_WEB_DOCUMENT_H_ | |
| 6 #define HEADLESS_PUBLIC_WEB_DOCUMENT_H_ | |
| 7 | |
| 8 #include "headless/public/headless_export.h" | |
| 9 #include "headless/public/web_node.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 class WebDocument; | |
| 13 } | |
| 14 | |
| 15 namespace headless { | |
| 16 | |
| 17 class HEADLESS_EXPORT WebDocument : public WebNode { | |
| 18 public: | |
| 19 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.
| |
| 20 | |
| 21 protected: | |
| 22 blink::WebDocument& web_document(); | |
| 23 const blink::WebDocument& web_document() const; | |
| 24 }; | |
| 25 | |
| 26 } // namespace headless | |
| 27 | |
| 28 #endif // HEADLESS_PUBLIC_WEB_DOCUMENT_H_ | |
| OLD | NEW |