| 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_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 namespace U_ICU_NAMESPACE { | 36 namespace U_ICU_NAMESPACE { |
| 37 class Collator; | 37 class Collator; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace media_router { | 40 namespace media_router { |
| 41 | 41 |
| 42 class CreatePresentationConnectionRequest; | 42 class CreatePresentationConnectionRequest; |
| 43 class IssuesObserver; | 43 class IssuesObserver; |
| 44 class MediaRoute; | 44 class MediaRoute; |
| 45 class MediaRouter; | 45 class MediaRouter; |
| 46 class MediaRouterDialogCallbacks; | |
| 47 class MediaRoutesObserver; | 46 class MediaRoutesObserver; |
| 48 class MediaRouterWebUIMessageHandler; | 47 class MediaRouterWebUIMessageHandler; |
| 49 class MediaSink; | 48 class MediaSink; |
| 50 class MediaSinksObserver; | |
| 51 class RouteRequestResult; | 49 class RouteRequestResult; |
| 52 | 50 |
| 53 // Implements the chrome://media-router user interface. | 51 // Implements the chrome://media-router user interface. |
| 54 class MediaRouterUI : public ConstrainedWebDialogUI, | 52 class MediaRouterUI : public ConstrainedWebDialogUI, |
| 55 public QueryResultManager::Observer, | 53 public QueryResultManager::Observer, |
| 56 public PresentationServiceDelegateImpl:: | 54 public PresentationServiceDelegateImpl:: |
| 57 DefaultPresentationRequestObserver { | 55 DefaultPresentationRequestObserver { |
| 58 public: | 56 public: |
| 59 // |web_ui| owns this object and is used to initialize the base class. | 57 // |web_ui| owns this object and is used to initialize the base class. |
| 60 explicit MediaRouterUI(content::WebUI* web_ui); | 58 explicit MediaRouterUI(content::WebUI* web_ui); |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // NOTE: Weak pointers must be invalidated before all other member variables. | 334 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 337 // Therefore |weak_factory_| must be placed at the end. | 335 // Therefore |weak_factory_| must be placed at the end. |
| 338 base::WeakPtrFactory<MediaRouterUI> weak_factory_; | 336 base::WeakPtrFactory<MediaRouterUI> weak_factory_; |
| 339 | 337 |
| 340 DISALLOW_COPY_AND_ASSIGN(MediaRouterUI); | 338 DISALLOW_COPY_AND_ASSIGN(MediaRouterUI); |
| 341 }; | 339 }; |
| 342 | 340 |
| 343 } // namespace media_router | 341 } // namespace media_router |
| 344 | 342 |
| 345 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ | 343 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| OLD | NEW |