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

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

Issue 1536493002: Working proof of concept of select to speak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drag across multiple objects Created 5 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/views/widget/native_widget_delegate.h ('k') | ui/views/widget/root_view.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 (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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void Layout() override; 107 void Layout() override;
108 const char* GetClassName() const override; 108 const char* GetClassName() const override;
109 void SchedulePaintInRect(const gfx::Rect& rect) override; 109 void SchedulePaintInRect(const gfx::Rect& rect) override;
110 bool OnMousePressed(const ui::MouseEvent& event) override; 110 bool OnMousePressed(const ui::MouseEvent& event) override;
111 bool OnMouseDragged(const ui::MouseEvent& event) override; 111 bool OnMouseDragged(const ui::MouseEvent& event) override;
112 void OnMouseReleased(const ui::MouseEvent& event) override; 112 void OnMouseReleased(const ui::MouseEvent& event) override;
113 void OnMouseCaptureLost() override; 113 void OnMouseCaptureLost() override;
114 void OnMouseMoved(const ui::MouseEvent& event) override; 114 void OnMouseMoved(const ui::MouseEvent& event) override;
115 void OnMouseExited(const ui::MouseEvent& event) override; 115 void OnMouseExited(const ui::MouseEvent& event) override;
116 bool OnMouseWheel(const ui::MouseWheelEvent& event) override; 116 bool OnMouseWheel(const ui::MouseWheelEvent& event) override;
117 void OnAccessibilityMouseEvent(ui::MouseEvent* event) override;
117 void SetMouseHandler(View* new_mouse_handler) override; 118 void SetMouseHandler(View* new_mouse_handler) override;
118 void GetAccessibleState(ui::AXViewState* state) override; 119 void GetAccessibleState(ui::AXViewState* state) override;
119 void UpdateParentLayer() override; 120 void UpdateParentLayer() override;
120 121
121 protected: 122 protected:
122 // Overridden from View: 123 // Overridden from View:
123 void ViewHierarchyChanged( 124 void ViewHierarchyChanged(
124 const ViewHierarchyChangedDetails& details) override; 125 const ViewHierarchyChangedDetails& details) override;
125 void VisibilityChanged(View* starting_from, bool is_visible) override; 126 void VisibilityChanged(View* starting_from, bool is_visible) override;
126 void OnPaint(gfx::Canvas* canvas) override; 127 void OnPaint(gfx::Canvas* canvas) override;
(...skipping 105 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/widget/native_widget_delegate.h ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698