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

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

Issue 2762633003: Remove unused |context| from GetDefaultParent(). (Closed)
Patch Set: Fix chromecast compile error. Created 3 years, 9 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
« no previous file with comments | « ash/wm/stacking_controller.cc ('k') | chromecast/graphics/cast_window_manager_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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 CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_AURA_H_ 5 #ifndef CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_AURA_H_
6 #define CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_AURA_H_ 6 #define CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_AURA_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 public: 29 public:
30 ~CastWindowManagerAura() override; 30 ~CastWindowManagerAura() override;
31 31
32 // CastWindowManager implementation: 32 // CastWindowManager implementation:
33 void TearDown() override; 33 void TearDown() override;
34 void AddWindow(gfx::NativeView window) override; 34 void AddWindow(gfx::NativeView window) override;
35 gfx::NativeView GetRootWindow() override; 35 gfx::NativeView GetRootWindow() override;
36 void SetWindowId(gfx::NativeView window, WindowId window_id) override; 36 void SetWindowId(gfx::NativeView window, WindowId window_id) override;
37 37
38 // aura::client::WindowParentingClient implementation: 38 // aura::client::WindowParentingClient implementation:
39 aura::Window* GetDefaultParent(aura::Window* context, 39 aura::Window* GetDefaultParent(aura::Window* window,
40 aura::Window* window,
41 const gfx::Rect& bounds) override; 40 const gfx::Rect& bounds) override;
42 41
43 private: 42 private:
44 friend class CastWindowManager; 43 friend class CastWindowManager;
45 44
46 // This class should only be instantiated by CastWindowManager::Create. 45 // This class should only be instantiated by CastWindowManager::Create.
47 explicit CastWindowManagerAura(bool enable_input); 46 explicit CastWindowManagerAura(bool enable_input);
48 47
49 // CastVSyncSettings::Observer implementation: 48 // CastVSyncSettings::Observer implementation:
50 void OnVSyncIntervalChanged(base::TimeDelta interval) override; 49 void OnVSyncIntervalChanged(base::TimeDelta interval) override;
51 50
52 void Setup(); 51 void Setup();
53 52
54 const bool enable_input_; 53 const bool enable_input_;
55 std::unique_ptr<CastWindowTreeHost> window_tree_host_; 54 std::unique_ptr<CastWindowTreeHost> window_tree_host_;
56 std::unique_ptr<aura::client::DefaultCaptureClient> capture_client_; 55 std::unique_ptr<aura::client::DefaultCaptureClient> capture_client_;
57 std::unique_ptr<CastFocusClientAura> focus_client_; 56 std::unique_ptr<CastFocusClientAura> focus_client_;
58 57
59 DISALLOW_COPY_AND_ASSIGN(CastWindowManagerAura); 58 DISALLOW_COPY_AND_ASSIGN(CastWindowManagerAura);
60 }; 59 };
61 60
62 } // namespace chromecast 61 } // namespace chromecast
63 62
64 #endif // CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_AURA_H_ 63 #endif // CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_AURA_H_
OLDNEW
« no previous file with comments | « ash/wm/stacking_controller.cc ('k') | chromecast/graphics/cast_window_manager_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698