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

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

Issue 2545543002: Makes InputMethodMus deal with no connection (Closed)
Patch Set: moar Created 4 years 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/input_method_mus.cc ('k') | ui/aura/mus/window_tree_host_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 14 matching lines...) Expand all
25 25
26 class InputMethodMus; 26 class InputMethodMus;
27 class WindowPortMus; 27 class WindowPortMus;
28 class WindowTreeClient; 28 class WindowTreeClient;
29 class WindowTreeHostMusDelegate; 29 class WindowTreeHostMusDelegate;
30 30
31 class AURA_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform { 31 class AURA_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
32 public: 32 public:
33 WindowTreeHostMus( 33 WindowTreeHostMus(
34 std::unique_ptr<WindowPortMus> window_port, 34 std::unique_ptr<WindowPortMus> window_port,
35 WindowTreeHostMusDelegate* delegate, 35 WindowTreeClient* window_tree_client,
36 int64_t display_id, 36 int64_t display_id,
37 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr); 37 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr);
38 WindowTreeHostMus( 38 explicit WindowTreeHostMus(
39 WindowTreeClient* window_tree_client, 39 WindowTreeClient* window_tree_client,
40 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr); 40 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr);
41 41
42 ~WindowTreeHostMus() override; 42 ~WindowTreeHostMus() override;
43 43
44 // Sets the bounds in dips. 44 // Sets the bounds in dips.
45 void SetBoundsFromServer(const gfx::Rect& bounds); 45 void SetBoundsFromServer(const gfx::Rect& bounds);
46 46
47 ui::EventDispatchDetails SendEventToProcessor(ui::Event* event) { 47 ui::EventDispatchDetails SendEventToProcessor(ui::Event* event) {
48 return aura::WindowTreeHostPlatform::SendEventToProcessor(event); 48 return aura::WindowTreeHostPlatform::SendEventToProcessor(event);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool in_set_bounds_from_server_ = false; 80 bool in_set_bounds_from_server_ = false;
81 81
82 std::unique_ptr<InputMethodMus> input_method_; 82 std::unique_ptr<InputMethodMus> input_method_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); 84 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
85 }; 85 };
86 86
87 } // namespace aura 87 } // namespace aura
88 88
89 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ 89 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/input_method_mus.cc ('k') | ui/aura/mus/window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698