OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEBUI_MESSAGE_HANDLER_
H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEBUI_MESSAGE_HANDLER_
H_ |
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEBUI_MESSAGE_HANDLER_
H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEBUI_MESSAGE_HANDLER_
H_ |
7 | 7 |
8 #include <unordered_map> | 8 #include <unordered_map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // used when updating sinks to determine if identity should be displayed. | 155 // used when updating sinks to determine if identity should be displayed. |
156 // Marked virtual for tests. | 156 // Marked virtual for tests. |
157 virtual AccountInfo GetAccountInfo(); | 157 virtual AccountInfo GetAccountInfo(); |
158 | 158 |
159 // |true| if the associated Profile is incognito. | 159 // |true| if the associated Profile is incognito. |
160 bool incognito_; | 160 bool incognito_; |
161 | 161 |
162 // Keeps track of whether a command to close the dialog has been issued. | 162 // Keeps track of whether a command to close the dialog has been issued. |
163 bool dialog_closing_; | 163 bool dialog_closing_; |
164 | 164 |
| 165 // Whether the WebUI version of route controller is available for use. |
| 166 const bool is_web_ui_route_controller_available_; |
| 167 |
165 // The media status currently shown in the UI. | 168 // The media status currently shown in the UI. |
166 base::Optional<MediaStatus> current_media_status_; | 169 base::Optional<MediaStatus> current_media_status_; |
167 | 170 |
168 MediaRouterUI* media_router_ui_; | 171 MediaRouterUI* media_router_ui_; |
169 | 172 |
170 DISALLOW_COPY_AND_ASSIGN(MediaRouterWebUIMessageHandler); | 173 DISALLOW_COPY_AND_ASSIGN(MediaRouterWebUIMessageHandler); |
171 }; | 174 }; |
172 | 175 |
173 } // namespace media_router | 176 } // namespace media_router |
174 | 177 |
175 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEBUI_MESSAGE_HANDL
ER_H_ | 178 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEBUI_MESSAGE_HANDL
ER_H_ |
OLD | NEW |