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

Unified Diff: chrome/browser/media/router/media_route.h

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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: chrome/browser/media/router/media_route.h
diff --git a/chrome/browser/media/router/media_route.h b/chrome/browser/media/router/media_route.h
index 4d809008bfe6f5027fdb11aad43ac2e4aba1c703..c26112b12e682214df0510fccf3d05e21c0c2001 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -82,6 +82,14 @@ class MediaRoute {
bool off_the_record() const { return off_the_record_; }
+ // Set to |true| if the presentation associated with this route is an
+ // offscreen presentation.
+ void set_is_offscreen_presentation(bool is_offscreen_presentation) {
+ is_offscreen_presentation_ = is_offscreen_presentation;
+ }
+
+ bool is_offscreen_presentation() const { return is_offscreen_presentation_; }
+
bool Equals(const MediaRoute& other) const;
private:
@@ -93,6 +101,7 @@ class MediaRoute {
std::string custom_controller_path_;
bool for_display_;
bool off_the_record_;
+ bool is_offscreen_presentation_;
};
} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698