OLD | NEW |
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 UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 5 #ifndef UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 void GetHitTestMask(gfx::Path* mask) const override; | 218 void GetHitTestMask(gfx::Path* mask) const override; |
219 | 219 |
220 // Overridden from ui::EventHandler: | 220 // Overridden from ui::EventHandler: |
221 void OnKeyEvent(ui::KeyEvent* event) override; | 221 void OnKeyEvent(ui::KeyEvent* event) override; |
222 void OnMouseEvent(ui::MouseEvent* event) override; | 222 void OnMouseEvent(ui::MouseEvent* event) override; |
223 void OnScrollEvent(ui::ScrollEvent* event) override; | 223 void OnScrollEvent(ui::ScrollEvent* event) override; |
224 void OnGestureEvent(ui::GestureEvent* event) override; | 224 void OnGestureEvent(ui::GestureEvent* event) override; |
225 | 225 |
226 // Overridden from aura::WindowTreeHostObserver: | 226 // Overridden from aura::WindowTreeHostObserver: |
227 void OnHostResized(const aura::WindowTreeHost* host) override; | 227 void OnHostResized(const aura::WindowTreeHost* host) override; |
228 void OnHostMoved(const aura::WindowTreeHost* host, | 228 void OnHostMovedInPixel(const aura::WindowTreeHost* host, |
229 const gfx::Point& new_origin) override; | 229 const gfx::Point& new_origin_in_pixel) override; |
230 void OnHostCloseRequested(const aura::WindowTreeHost* host) override; | 230 void OnHostCloseRequested(const aura::WindowTreeHost* host) override; |
231 | 231 |
232 // Overridden from aura::client::DragDropDelegate: | 232 // Overridden from aura::client::DragDropDelegate: |
233 void OnDragEntered(const ui::DropTargetEvent& event) override; | 233 void OnDragEntered(const ui::DropTargetEvent& event) override; |
234 int OnDragUpdated(const ui::DropTargetEvent& event) override; | 234 int OnDragUpdated(const ui::DropTargetEvent& event) override; |
235 void OnDragExited() override; | 235 void OnDragExited() override; |
236 int OnPerformDrop(const ui::DropTargetEvent& event) override; | 236 int OnPerformDrop(const ui::DropTargetEvent& event) override; |
237 | 237 |
238 // Overridden from ui::InputEventHandler: | 238 // Overridden from ui::InputEventHandler: |
239 void OnWindowInputEvent( | 239 void OnWindowInputEvent( |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 std::unique_ptr<InputMethodMus> input_method_; | 306 std::unique_ptr<InputMethodMus> input_method_; |
307 | 307 |
308 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; | 308 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; |
309 | 309 |
310 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); | 310 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); |
311 }; | 311 }; |
312 | 312 |
313 } // namespace views | 313 } // namespace views |
314 | 314 |
315 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 315 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
OLD | NEW |