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

Side by Side Diff: ui/aura/mus/window_tree_host_mus_init_params.h

Issue 2831583005: Enable Config::MUS to use classic IME instead of servicified IME. (Closed)
Patch Set: Addressed feedback. Created 3 years, 7 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 | « ui/aura/mus/window_tree_host_mus.cc ('k') | no next file » | 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 UI_AURA_MUS_WINDOW_TREE_HOST_MUS_INIT_PARAMS_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_INIT_PARAMS_H_
6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_INIT_PARAMS_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_INIT_PARAMS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 std::map<std::string, std::vector<uint8_t>> properties; 58 std::map<std::string, std::vector<uint8_t>> properties;
59 59
60 cc::FrameSinkId frame_sink_id; 60 cc::FrameSinkId frame_sink_id;
61 61
62 // Id of the display the window should be created on. 62 // Id of the display the window should be created on.
63 int64_t display_id = 0; 63 int64_t display_id = 0;
64 64
65 // Used when the WindowTreeHostMus corresponds to a new display manually 65 // Used when the WindowTreeHostMus corresponds to a new display manually
66 // created by the window manager. 66 // created by the window manager.
67 std::unique_ptr<DisplayInitParams> display_init_params; 67 std::unique_ptr<DisplayInitParams> display_init_params;
68
69 // Use classic IME (i.e. InputMethodChromeOS) instead of servicified IME
70 // (i.e. InputMethodMus).
71 bool use_classic_ime = false;
68 }; 72 };
69 73
70 // Creates a WindowTreeHostMusInitParams that is used when creating a top-level 74 // Creates a WindowTreeHostMusInitParams that is used when creating a top-level
71 // window. 75 // window.
72 AURA_EXPORT WindowTreeHostMusInitParams CreateInitParamsForTopLevel( 76 AURA_EXPORT WindowTreeHostMusInitParams CreateInitParamsForTopLevel(
73 WindowTreeClient* window_tree_client, 77 WindowTreeClient* window_tree_client,
74 std::map<std::string, std::vector<uint8_t>> properties = 78 std::map<std::string, std::vector<uint8_t>> properties =
75 std::map<std::string, std::vector<uint8_t>>()); 79 std::map<std::string, std::vector<uint8_t>>());
76 80
77 } // namespace aura 81 } // namespace aura
78 82
79 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_INIT_PARAMS_H_ 83 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698