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

Side by Side Diff: ui/views/widget/root_view.h

Issue 2681613002: Avoid two targeting phases in aura client-lib and EventProcessor. (Closed)
Patch Set: early return Created 3 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_WIDGET_ROOT_VIEW_H_ 5 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_
6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ 6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Public API for broadcasting device scale factor change notifications to 90 // Public API for broadcasting device scale factor change notifications to
91 // this View hierarchy. 91 // this View hierarchy.
92 void DeviceScaleFactorChanged(float device_scale_factor); 92 void DeviceScaleFactorChanged(float device_scale_factor);
93 93
94 // Overridden from FocusTraversable: 94 // Overridden from FocusTraversable:
95 FocusSearch* GetFocusSearch() override; 95 FocusSearch* GetFocusSearch() override;
96 FocusTraversable* GetFocusTraversableParent() override; 96 FocusTraversable* GetFocusTraversableParent() override;
97 View* GetFocusTraversableParentView() override; 97 View* GetFocusTraversableParentView() override;
98 98
99 // Overridden from ui::EventProcessor: 99 // Overridden from ui::EventProcessor:
100 ui::EventTarget* GetRootTarget() override; 100 ui::EventTarget* GetRootForEvent(ui::Event* event) override;
101 ui::EventTargeter* GetDefaultEventTargeter() override;
101 void OnEventProcessingStarted(ui::Event* event) override; 102 void OnEventProcessingStarted(ui::Event* event) override;
102 void OnEventProcessingFinished(ui::Event* event) override; 103 void OnEventProcessingFinished(ui::Event* event) override;
103 104
104 // Overridden from View: 105 // Overridden from View:
105 const Widget* GetWidget() const override; 106 const Widget* GetWidget() const override;
106 Widget* GetWidget() override; 107 Widget* GetWidget() override;
107 bool IsDrawn() const override; 108 bool IsDrawn() const override;
108 const char* GetClassName() const override; 109 const char* GetClassName() const override;
109 void SchedulePaintInRect(const gfx::Rect& rect) override; 110 void SchedulePaintInRect(const gfx::Rect& rect) override;
110 bool OnMousePressed(const ui::MouseEvent& event) override; 111 bool OnMousePressed(const ui::MouseEvent& event) override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Tracks drag state for a view. 233 // Tracks drag state for a view.
233 View::DragInfo drag_info_; 234 View::DragInfo drag_info_;
234 235
235 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 236 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
236 }; 237 };
237 238
238 } // namespace internal 239 } // namespace internal
239 } // namespace views 240 } // namespace views
240 241
241 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ 242 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/touchui/touch_selection_controller_impl_unittest.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698