| OLD | NEW |
| 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 MANDOLINE_UI_AURA_NATIVE_WIDGET_VIEW_MANAGER_H_ | 5 #ifndef MANDOLINE_UI_AURA_NATIVE_WIDGET_VIEW_MANAGER_H_ |
| 6 #define MANDOLINE_UI_AURA_NATIVE_WIDGET_VIEW_MANAGER_H_ | 6 #define MANDOLINE_UI_AURA_NATIVE_WIDGET_VIEW_MANAGER_H_ |
| 7 | 7 |
| 8 #include "components/view_manager/public/cpp/view_observer.h" | 8 #include "components/view_manager/public/cpp/view_observer.h" |
| 9 #include "ui/views/widget/native_widget_aura.h" | 9 #include "ui/views/widget/native_widget_aura.h" |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 void OnViewDestroyed(mojo::View* view) override; | 49 void OnViewDestroyed(mojo::View* view) override; |
| 50 void OnViewBoundsChanged(mojo::View* view, | 50 void OnViewBoundsChanged(mojo::View* view, |
| 51 const mojo::Rect& old_bounds, | 51 const mojo::Rect& old_bounds, |
| 52 const mojo::Rect& new_bounds) override; | 52 const mojo::Rect& new_bounds) override; |
| 53 void OnViewInputEvent(mojo::View* view, const mojo::EventPtr& event) override; | 53 void OnViewInputEvent(mojo::View* view, const mojo::EventPtr& event) override; |
| 54 | 54 |
| 55 scoped_ptr<WindowTreeHostMojo> window_tree_host_; | 55 scoped_ptr<WindowTreeHostMojo> window_tree_host_; |
| 56 | 56 |
| 57 scoped_ptr<wm::FocusController> focus_client_; | 57 scoped_ptr<wm::FocusController> focus_client_; |
| 58 | 58 |
| 59 scoped_ptr<ui::internal::InputMethodDelegate> ime_filter_; | |
| 60 | |
| 61 mojo::View* view_; | 59 mojo::View* view_; |
| 62 | 60 |
| 63 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | 61 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; |
| 64 | 62 |
| 65 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViewManager); | 63 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViewManager); |
| 66 }; | 64 }; |
| 67 | 65 |
| 68 } // namespace mandoline | 66 } // namespace mandoline |
| 69 | 67 |
| 70 #endif // MANDOLINE_UI_AURA_NATIVE_WIDGET_VIEW_MANAGER_H_ | 68 #endif // MANDOLINE_UI_AURA_NATIVE_WIDGET_VIEW_MANAGER_H_ |
| OLD | NEW |