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

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

Issue 474883003: Move focus from the view manager to the window manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
« no previous file with comments | « mojo/services/view_manager/default_access_policy.cc ('k') | mojo/services/view_manager/node.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 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual bool CanFocus() OVERRIDE; 83 virtual bool CanFocus() OVERRIDE;
84 virtual void OnCaptureLost() OVERRIDE; 84 virtual void OnCaptureLost() OVERRIDE;
85 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 85 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
86 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 86 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
87 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 87 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
88 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 88 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
89 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 89 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
90 virtual bool HasHitTestMask() const OVERRIDE; 90 virtual bool HasHitTestMask() const OVERRIDE;
91 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 91 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
92 92
93 // ui::EventHandler overrides:
94 virtual void OnEvent(ui::Event* event) OVERRIDE;
95
96 NodeDelegate* delegate_; 93 NodeDelegate* delegate_;
97 const NodeId id_; 94 const NodeId id_;
98 95
99 aura::Window window_; 96 aura::Window window_;
100 SkBitmap bitmap_; 97 SkBitmap bitmap_;
101 98
102 DISALLOW_COPY_AND_ASSIGN(Node); 99 DISALLOW_COPY_AND_ASSIGN(Node);
103 }; 100 };
104 101
105 } // namespace service 102 } // namespace service
106 } // namespace mojo 103 } // namespace mojo
107 104
108 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_ 105 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/default_access_policy.cc ('k') | mojo/services/view_manager/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698