Chromium Code Reviews| Index: headless/public/web_frame.h |
| diff --git a/headless/public/web_frame.h b/headless/public/web_frame.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6d2291c1c9c34266dd8f8213e0435666b1e49e0a |
| --- /dev/null |
| +++ b/headless/public/web_frame.h |
| @@ -0,0 +1,27 @@ |
| +// 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_FRAME_H_ |
| +#define HEADLESS_PUBLIC_WEB_FRAME_H_ |
| + |
| +#include <vector> |
| + |
| +#include "base/callback.h" |
| + |
| +namespace headless { |
| + |
| +class WebDocument; |
| + |
| +class WebFrame { |
| + public: |
| + virtual ~WebFrame(); |
| + |
| + virtual WebDocument document() = 0; |
| + |
| + virtual void ExecuteScript(const std::string& source_code) = 0; |
|
Sami
2015/11/19 14:08:35
Could you add a TODO for figuring out a way to ret
altimin
2015/11/19 14:52:54
I've already found a way to do so (see the cl with
|
| +}; |
| + |
| +} // namespace headless |
| + |
| +#endif // HEADLESS_PUBLIC_WEB_FRAME_H_ |