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

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: Addressed comments #18-21 Created 5 years, 2 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 b368751c5b49150b61b69226c5dd0dd055c5bb55..ff4516af15a76b77e4febd61c92f7549b1411e21 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -71,6 +71,11 @@ class MediaRoute {
bool for_display() const { return for_display_; }
+ bool is_offscreen_presentation() const { return is_offscreen_presentation_; }
+ void set_is_offscreen_presentation(bool is_offscreen_presentation) {
+ is_offscreen_presentation = is_offscreen_presentation_;
+ }
+
bool Equals(const MediaRoute& other) const;
private:
@@ -81,6 +86,10 @@ class MediaRoute {
bool is_local_;
std::string custom_controller_path_;
bool for_display_;
+
+ // Set to |true| if the presentation associated with this route is an
+ // offscreen presentation.
+ bool is_offscreen_presentation_;
};
} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698