Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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. | |
|
halliwell
2017/01/18 21:11:22
blank line
Joshua LeVasseur
2017/01/19 00:56:33
Done.
| |
| 4 #ifndef CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_DEFAULT_H_ | |
| 5 #define CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_DEFAULT_H_ | |
| 6 | |
| 7 #include <memory> | |
| 8 | |
| 9 #include "base/macros.h" | |
| 10 #include "chromecast/graphics/cast_window_manager.h" | |
| 11 | |
| 12 namespace chromecast { | |
| 13 | |
| 14 class CastWindowManagerDefault : public CastWindowManager { | |
| 15 public: | |
| 16 ~CastWindowManagerDefault() override; | |
| 17 | |
| 18 // CastWindowManager implementation: | |
| 19 void Setup() override; | |
| 20 void TearDown() override; | |
| 21 void AddWindow(gfx::NativeView window) override; | |
| 22 void AddAndShowWindow(gfx::NativeView window) override; | |
| 23 | |
| 24 private: | |
| 25 friend class CastWindowManager; | |
| 26 | |
| 27 // This class should only be instantiated by CastWindowManager::Create. | |
| 28 CastWindowManagerDefault(); | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(CastWindowManagerDefault); | |
| 31 }; | |
| 32 | |
| 33 } // namespace chromecast | |
| 34 | |
| 35 #endif // CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_DEFAULT_H_ | |
| OLD | NEW |