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

Unified Diff: Source/modules/presentation/PresentationSession.h

Issue 1015903002: [Presentation API] Adds close method to Presentation session. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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: Source/modules/presentation/PresentationSession.h
diff --git a/Source/modules/presentation/PresentationSession.h b/Source/modules/presentation/PresentationSession.h
index 9a28e6cf617ee0d6c7689bf308f0fd49abd7c434..52d21eeae3b093799e18e0812ece9d26de6b6f1f 100644
--- a/Source/modules/presentation/PresentationSession.h
+++ b/Source/modules/presentation/PresentationSession.h
@@ -13,6 +13,7 @@
namespace blink {
class Presentation;
+class PresentationController;
class WebPresentationSessionClient;
class WebString;
@@ -45,6 +46,10 @@ public:
private:
PresentationSession(LocalFrame*, const WebString& id);
+ // Returns the |PresentationController| object associated with the frame |Presentation| corresponds to.
whywhat 2015/03/17 23:35:19 nit: Although Blink doesn't yet have line length l
haibinlu 2015/03/18 00:58:23 Done.
+ // Can return |nullptr| if the frame is detached from the document.
+ PresentationController* presentationController();
+
String m_id;
AtomicString m_state;
};

Powered by Google App Engine
This is Rietveld 408576698