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

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

Issue 2345283002: aura: Allow platform to choose how it retrieves ICCProfile. (Closed)
Patch Set: 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 UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ 5 #ifndef UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
6 #define UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "services/shell/public/cpp/connector.h" 9 #include "services/shell/public/cpp/connector.h"
10 #include "ui/aura/window_tree_host_platform.h" 10 #include "ui/aura/window_tree_host_platform.h"
(...skipping 22 matching lines...) Expand all
33 NativeWidgetMus* native_widget() { return native_widget_; } 33 NativeWidgetMus* native_widget() { return native_widget_; }
34 34
35 void InitInputMethod(shell::Connector* connector); 35 void InitInputMethod(shell::Connector* connector);
36 36
37 private: 37 private:
38 // aura::WindowTreeHostPlatform: 38 // aura::WindowTreeHostPlatform:
39 void DispatchEvent(ui::Event* event) override; 39 void DispatchEvent(ui::Event* event) override;
40 void OnClosed() override; 40 void OnClosed() override;
41 void OnActivationChanged(bool active) override; 41 void OnActivationChanged(bool active) override;
42 void OnCloseRequest() override; 42 void OnCloseRequest() override;
43 gfx::ICCProfile GetICCProfileForCurrentDisplay() override;
43 44
44 NativeWidgetMus* native_widget_; 45 NativeWidgetMus* native_widget_;
45 std::unique_ptr<InputMethodMus> input_method_; 46 std::unique_ptr<InputMethodMus> input_method_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); 48 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
48 }; 49 };
49 50
50 } // namespace views 51 } // namespace views
51 52
52 #endif // UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ 53 #endif // UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698