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

Side by Side Diff: blimp/engine/app/ui/blimp_window_tree_host.h

Issue 1830293003: Remove BlimpUiContextFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blink/engine deps Created 4 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
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_ENGINE_APP_UI_BLIMP_WINDOW_TREE_HOST_H_ 5 #ifndef BLIMP_ENGINE_APP_UI_BLIMP_WINDOW_TREE_HOST_H_
6 #define BLIMP_ENGINE_APP_UI_BLIMP_WINDOW_TREE_HOST_H_ 6 #define BLIMP_ENGINE_APP_UI_BLIMP_WINDOW_TREE_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/window_tree_host_platform.h" 10 #include "ui/aura/window_tree_host_platform.h"
11 11
12 namespace blimp { 12 namespace blimp {
13 namespace engine { 13 namespace engine {
14 14
15 // This WindowTreeHost represents a top-level window in a blimp client, and its 15 // This WindowTreeHost represents a top-level window in a blimp client, and its
16 // children. 16 // children.
17 // Note that the Aura WindowTreeHost impl creates a compositor internally, 17 // Note that the Aura WindowTreeHost impl creates a compositor internally,
18 // which will eventually get replaced with client-side rendering. 18 // which will eventually get replaced with client-side rendering.
19 class BlimpWindowTreeHost : public aura::WindowTreeHostPlatform { 19 class BlimpWindowTreeHost : public aura::WindowTreeHostPlatform {
20 public: 20 public:
21 BlimpWindowTreeHost(); 21 BlimpWindowTreeHost();
22 ~BlimpWindowTreeHost() override; 22 ~BlimpWindowTreeHost() override;
23 23
24 private: 24 private:
25 // aura::WindowTreeHostPlatform overrides.
26 void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
27 float device_pixel_ratio) override;
28
25 DISALLOW_COPY_AND_ASSIGN(BlimpWindowTreeHost); 29 DISALLOW_COPY_AND_ASSIGN(BlimpWindowTreeHost);
26 }; 30 };
27 31
28 } // namespace engine 32 } // namespace engine
29 } // namespace blimp 33 } // namespace blimp
30 34
31 #endif // BLIMP_ENGINE_APP_UI_BLIMP_WINDOW_TREE_HOST_H_ 35 #endif // BLIMP_ENGINE_APP_UI_BLIMP_WINDOW_TREE_HOST_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/ui/blimp_ui_context_factory.cc ('k') | blimp/engine/app/ui/blimp_window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698