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

Side by Side Diff: headless/public/web_frame.h

Issue 1461693003: [headless] Initial skeleton of headless/public/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pure virtual indeed 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 unified diff | Download patch
OLDNEW
(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 #include "headless/public/headless_export.h"
12
13 namespace headless {
14
15 class WebDocument;
16
17 class HEADLESS_EXPORT WebFrame {
18 public:
19 virtual ~WebFrame();
alex clarke (OOO till 29th) 2015/11/19 18:17:54 Can we not implement this destructor inline?
altimin 2015/11/19 18:36:24 Done.
20
21 virtual WebDocument document() = 0;
22
23 // TODO(altimin): return a script execution result.
24 virtual void ExecuteScript(const std::string& source_code) = 0;
25 };
26
27 } // namespace headless
28
29 #endif // HEADLESS_PUBLIC_WEB_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698