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

Side by Side Diff: mojo/services/view_manager/node.h

Issue 316713002: Wire input events through the ViewManagerClient interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_NODE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual bool CanFocus() OVERRIDE; 79 virtual bool CanFocus() OVERRIDE;
80 virtual void OnCaptureLost() OVERRIDE; 80 virtual void OnCaptureLost() OVERRIDE;
81 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 81 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
82 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 82 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
83 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 83 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
84 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 84 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
85 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 85 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
86 virtual bool HasHitTestMask() const OVERRIDE; 86 virtual bool HasHitTestMask() const OVERRIDE;
87 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 87 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
88 88
89 // ui::EventHandler overrides:
90 virtual void OnEvent(ui::Event* event) OVERRIDE;
91
89 NodeDelegate* delegate_; 92 NodeDelegate* delegate_;
90 const NodeId id_; 93 const NodeId id_;
91 94
92 // Weak pointer to view associated with this node. 95 // Weak pointer to view associated with this node.
93 View* view_; 96 View* view_;
94 97
95 ViewId view_id_; 98 ViewId view_id_;
96 99
97 aura::Window window_; 100 aura::Window window_;
98 101
99 DISALLOW_COPY_AND_ASSIGN(Node); 102 DISALLOW_COPY_AND_ASSIGN(Node);
100 }; 103 };
101 104
102 } // namespace service 105 } // namespace service
103 } // namespace view_manager 106 } // namespace view_manager
104 } // namespace mojo 107 } // namespace mojo
105 108
106 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 109 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/view_manager/view_manager.mojom ('k') | mojo/services/view_manager/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698