OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_ | |
6 #define CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "ash/cast_config_delegate.h" | |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | |
13 #include "base/values.h" | |
14 #include "content/public/browser/browser_context.h" | |
jennyz
2015/05/07 21:50:35
Not used in this .h file, should be moved to .cc f
jdufault
2015/05/07 23:41:53
Done.
| |
15 #include "content/public/browser/render_frame_host.h" | |
jennyz
2015/05/07 21:50:35
ditto
jdufault
2015/05/07 23:41:53
Done.
| |
16 | |
17 namespace chromeos { | |
18 | |
19 // A class which allows the ash tray to communicate with the cast extension. | |
20 class CastConfigDelegateChromeos : public ash::CastConfigDelegate { | |
21 public: | |
22 CastConfigDelegateChromeos(); | |
23 | |
24 private: | |
25 ~CastConfigDelegateChromeos() override; | |
26 | |
27 // CastConfigDelegate overrides. | |
28 bool HasCastExtension() override; | |
29 void GetReceiversAndActivities( | |
30 const ReceiversAndActivitesCallback& callback) override; | |
31 void CastToReceiver(const std::string& receiver_id) override; | |
32 void StopCasting(const std::string& activity_id) override; | |
33 void LaunchCastOptions() override; | |
34 | |
35 DISALLOW_COPY_AND_ASSIGN(CastConfigDelegateChromeos); | |
36 }; | |
37 | |
38 } // namespace chromeos | |
39 | |
40 #endif // CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_ | |
OLD | NEW |