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

Side by Side Diff: chrome/browser/media/router/mojo/media_router.mojom

Issue 2014903002: [Media Router] Consistently refer to issue's learn more help page by ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module media_router.interfaces; 5 module media_router.interfaces;
6 6
7 // Represents an output sink to which media can be routed. 7 // Represents an output sink to which media can be routed.
8 struct MediaSink { 8 struct MediaSink {
9 enum IconType { 9 enum IconType {
10 CAST, 10 CAST,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 string title; 90 string title;
91 91
92 // Message about issue detail or how to handle issue. 92 // Message about issue detail or how to handle issue.
93 // Messages should be suitable for end users to decide which actions to take. 93 // Messages should be suitable for end users to decide which actions to take.
94 string? message; 94 string? message;
95 95
96 ActionType default_action; 96 ActionType default_action;
97 97
98 array<ActionType>? secondary_actions; 98 array<ActionType>? secondary_actions;
99 99
100 // A help page to be opened if users select learn_more. 100 // The ID of the help page to be opened if users select learn_more.
101 string? help_url; 101 int32 help_page_id;
102 }; 102 };
103 103
104 struct RouteMessage { 104 struct RouteMessage {
105 enum Type { 105 enum Type {
106 TEXT, 106 TEXT,
107 BINARY 107 BINARY
108 }; 108 };
109 // The type of this message. 109 // The type of this message.
110 Type type; 110 Type type;
111 // Used when the |type| is TEXT. 111 // Used when the |type| is TEXT.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // changed to |state|. 369 // changed to |state|.
370 OnPresentationConnectionStateChanged( 370 OnPresentationConnectionStateChanged(
371 string route_id, PresentationConnectionState state); 371 string route_id, PresentationConnectionState state);
372 372
373 // Called when the presentation connected to route |route_id| has closed. 373 // Called when the presentation connected to route |route_id| has closed.
374 OnPresentationConnectionClosed( 374 OnPresentationConnectionClosed(
375 string route_id, PresentationConnectionCloseReason reason, 375 string route_id, PresentationConnectionCloseReason reason,
376 string message); 376 string message);
377 }; 377 };
378 378
OLDNEW
« no previous file with comments | « chrome/browser/media/router/issue_unittest.cc ('k') | chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698