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_FRAME_H_ | |
6 #define HEADLESS_PUBLIC_WEB_FRAME_H_ | |
7 | |
8 #include <vector> | |
9 | |
10 #include "base/callback.h" | |
11 | |
12 namespace headless { | |
13 | |
14 class WebDocument; | |
15 | |
16 class WebFrame { | |
17 public: | |
18 virtual ~WebFrame(); | |
19 | |
20 virtual WebDocument document() = 0; | |
21 | |
22 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
| |
23 }; | |
24 | |
25 } // namespace headless | |
26 | |
27 #endif // HEADLESS_PUBLIC_WEB_FRAME_H_ | |
OLD | NEW |