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

Side by Side Diff: chromecast/graphics/cast_window_manager_default.h

Issue 2643553002: [Chromecast] Reuse the Aura window manager across receiver apps. (Closed)
Patch Set: Created 3 years, 11 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
(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.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698