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

Side by Side Diff: ui/views/mus/window_tree_host_mus.h

Issue 2611773002: Removes code using mus client lib (Closed)
Patch Set: dont run on linux 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 2015 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
5 #ifndef UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
6 #define UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
7
8 #include "base/macros.h"
9 #include "services/service_manager/public/cpp/connector.h"
10 #include "ui/aura/window_tree_host_platform.h"
11 #include "ui/views/mus/mus_export.h"
12
13 namespace ui {
14 class Window;
15 }
16
17 namespace views {
18
19 class NativeWidgetMus;
20
21 class VIEWS_MUS_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
22 public:
23 WindowTreeHostMus(NativeWidgetMus* native_widget, ui::Window* window);
24 ~WindowTreeHostMus() override;
25 NativeWidgetMus* native_widget() { return native_widget_; }
26
27 private:
28 // aura::WindowTreeHostPlatform:
29 void DispatchEvent(ui::Event* event) override;
30 void OnClosed() override;
31 void OnActivationChanged(bool active) override;
32 void OnCloseRequest() override;
33 gfx::ICCProfile GetICCProfileForCurrentDisplay() override;
34
35 NativeWidgetMus* native_widget_;
36
37 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
38 };
39
40 } // namespace views
41
42 #endif // UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ui/views/mus/window_manager_connection_unittest.cc ('k') | ui/views/mus/window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698