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

Unified Diff: headless/public/headless_web_contents.h

Issue 1891843004: [headless] AddWindowTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to review Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: headless/public/headless_web_contents.h
diff --git a/headless/public/headless_web_contents.h b/headless/public/headless_web_contents.h
index 04ac953001d61b94e9d9bab75de4ea1a931ef0fa..34e14de3678de5e9ec5b420a198d1e3bd757de43 100644
--- a/headless/public/headless_web_contents.h
+++ b/headless/public/headless_web_contents.h
@@ -43,6 +43,9 @@ class HEADLESS_EXPORT HeadlessWebContents {
virtual void AddObserver(Observer* observer) = 0;
virtual void RemoveObserver(Observer* observer) = 0;
+ // Close this page. |HeadlessWebContents| object will be destroyed.
+ virtual void Close() = 0;
+
private:
friend class HeadlessWebContentsImpl;
HeadlessWebContents() {}

Powered by Google App Engine
This is Rietveld 408576698