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

Side by Side Diff: components/mus/view_tree_host_impl.h

Issue 1328953003: Mandoline: Support transforms and clipping of OOPIFs and events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase works! Created 5 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 COMPONENTS_MUS_VIEW_TREE_HOST_IMPL_H_ 5 #ifndef COMPONENTS_MUS_VIEW_TREE_HOST_IMPL_H_
6 #define COMPONENTS_MUS_VIEW_TREE_HOST_IMPL_H_ 6 #define COMPONENTS_MUS_VIEW_TREE_HOST_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/mus/display_manager.h" 9 #include "components/mus/display_manager.h"
10 #include "components/mus/event_dispatcher.h" 10 #include "components/mus/event_dispatcher.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void AddAccelerator(uint32_t id, 90 void AddAccelerator(uint32_t id,
91 mojo::KeyboardCode keyboard_code, 91 mojo::KeyboardCode keyboard_code,
92 mojo::EventFlags flags) override; 92 mojo::EventFlags flags) override;
93 void RemoveAccelerator(uint32_t id) override; 93 void RemoveAccelerator(uint32_t id) override;
94 94
95 private: 95 private:
96 void OnClientClosed(); 96 void OnClientClosed();
97 97
98 // DisplayManagerDelegate: 98 // DisplayManagerDelegate:
99 ServerView* GetRootView() override; 99 ServerView* GetRootView() override;
100 void OnEvent(mojo::EventPtr event) override; 100 void OnEvent(ViewId id, mojo::EventPtr event) override;
101 void OnDisplayClosed() override; 101 void OnDisplayClosed() override;
102 void OnViewportMetricsChanged( 102 void OnViewportMetricsChanged(
103 const mojo::ViewportMetrics& old_metrics, 103 const mojo::ViewportMetrics& old_metrics,
104 const mojo::ViewportMetrics& new_metrics) override; 104 const mojo::ViewportMetrics& new_metrics) override;
105 105
106 // FocusControllerDelegate: 106 // FocusControllerDelegate:
107 void OnFocusChanged(ServerView* old_focused_view, 107 void OnFocusChanged(ServerView* old_focused_view,
108 ServerView* new_focused_view) override; 108 ServerView* new_focused_view) override;
109 109
110 ViewTreeHostDelegate* delegate_; 110 ViewTreeHostDelegate* delegate_;
111 ConnectionManager* const connection_manager_; 111 ConnectionManager* const connection_manager_;
112 mojo::ViewTreeHostClientPtr client_; 112 mojo::ViewTreeHostClientPtr client_;
113 EventDispatcher event_dispatcher_; 113 EventDispatcher event_dispatcher_;
114 scoped_ptr<ServerView> root_; 114 scoped_ptr<ServerView> root_;
115 scoped_ptr<DisplayManager> display_manager_; 115 scoped_ptr<DisplayManager> display_manager_;
116 scoped_ptr<FocusController> focus_controller_; 116 scoped_ptr<FocusController> focus_controller_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(ViewTreeHostImpl); 118 DISALLOW_COPY_AND_ASSIGN(ViewTreeHostImpl);
119 }; 119 };
120 120
121 } // namespace view_manager 121 } // namespace view_manager
122 122
123 #endif // COMPONENTS_MUS_VIEW_TREE_HOST_IMPL_H_ 123 #endif // COMPONENTS_MUS_VIEW_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698