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

Side by Side Diff: mandoline/ui/aura/native_widget_view_manager.h

Issue 1155013005: Refactoring the ownership of ui::InputMethod. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed bot failure: cast_shell_linux Created 5 years, 6 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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698