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

Side by Side Diff: blimp/client/app/linux/blimp_display_manager.h

Issue 2274323002: Expose Blimp dependencies to the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@khushal_baseline_1
Patch Set: Fix linux build break Created 4 years, 3 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
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 BLIMP_CLIENT_APP_LINUX_BLIMP_DISPLAY_MANAGER_H_ 5 #ifndef BLIMP_CLIENT_APP_LINUX_BLIMP_DISPLAY_MANAGER_H_
6 #define BLIMP_CLIENT_APP_LINUX_BLIMP_DISPLAY_MANAGER_H_ 6 #define BLIMP_CLIENT_APP_LINUX_BLIMP_DISPLAY_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/platform_window/platform_window_delegate.h" 11 #include "ui/platform_window/platform_window_delegate.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Size; 14 class Size;
15 } 15 }
16 16
17 namespace ui { 17 namespace ui {
18 class PlatformWindow; 18 class PlatformWindow;
19 } 19 }
20 20
21 namespace blimp { 21 namespace blimp {
22 namespace client { 22 namespace client {
23 23
24 class BlimpCompositorDependencies;
24 class BlimpCompositorManager; 25 class BlimpCompositorManager;
25 class BrowserCompositor; 26 class BrowserCompositor;
26 class RenderWidgetFeature; 27 class RenderWidgetFeature;
27 class TabControlFeature; 28 class TabControlFeature;
28 29
29 class BlimpDisplayManagerDelegate { 30 class BlimpDisplayManagerDelegate {
30 public: 31 public:
31 virtual void OnClosed() = 0; 32 virtual void OnClosed() = 0;
32 }; 33 };
33 34
(...skipping 17 matching lines...) Expand all
51 float device_pixel_ratio) override; 52 float device_pixel_ratio) override;
52 void OnAcceleratedWidgetDestroyed() override; 53 void OnAcceleratedWidgetDestroyed() override;
53 void OnActivationChanged(bool active) override {} 54 void OnActivationChanged(bool active) override {}
54 55
55 private: 56 private:
56 float device_pixel_ratio_; 57 float device_pixel_ratio_;
57 58
58 BlimpDisplayManagerDelegate* delegate_; 59 BlimpDisplayManagerDelegate* delegate_;
59 TabControlFeature* tab_control_feature_; 60 TabControlFeature* tab_control_feature_;
60 61
62 std::unique_ptr<BlimpCompositorDependencies> compositor_dependencies_;
63 std::unique_ptr<BlimpCompositorManager> compositor_manager_;
61 std::unique_ptr<BrowserCompositor> compositor_; 64 std::unique_ptr<BrowserCompositor> compositor_;
62
63 std::unique_ptr<BlimpCompositorManager> blimp_compositor_manager_;
64 std::unique_ptr<ui::PlatformWindow> platform_window_; 65 std::unique_ptr<ui::PlatformWindow> platform_window_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(BlimpDisplayManager); 67 DISALLOW_COPY_AND_ASSIGN(BlimpDisplayManager);
67 }; 68 };
68 69
69 } // namespace client 70 } // namespace client
70 } // namespace blimp 71 } // namespace blimp
71 72
72 #endif // BLIMP_CLIENT_APP_LINUX_BLIMP_DISPLAY_MANAGER_H_ 73 #endif // BLIMP_CLIENT_APP_LINUX_BLIMP_DISPLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « blimp/client/app/compositor/browser_compositor.cc ('k') | blimp/client/app/linux/blimp_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698