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 SERVICES_KEYBOARD_NATIVE_VIEW_OBSERVER_DELEGATE_H_ | 5 #ifndef SERVICES_KEYBOARD_NATIVE_VIEW_OBSERVER_DELEGATE_H_ |
6 #define SERVICES_KEYBOARD_NATIVE_VIEW_OBSERVER_DELEGATE_H_ | 6 #define SERVICES_KEYBOARD_NATIVE_VIEW_OBSERVER_DELEGATE_H_ |
7 | 7 |
8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
9 #include "mojo/gpu/texture_cache.h" | 9 #include "mojo/gpu/texture_cache.h" |
10 #include "mojo/gpu/texture_uploader.h" | 10 #include "mojo/gpu/texture_uploader.h" |
11 #include "mojo/services/view_manager/public/cpp/view_observer.h" | 11 #include "mojo/services/view_manager/cpp/view_observer.h" |
12 #include "mojo/skia/ganesh_context.h" | 12 #include "mojo/skia/ganesh_context.h" |
13 #include "services/keyboard_native/key_layout.h" | 13 #include "services/keyboard_native/key_layout.h" |
14 #include "services/keyboard_native/material_splash_animation.h" | 14 #include "services/keyboard_native/material_splash_animation.h" |
15 #include "services/keyboard_native/motion_decay_animation.h" | 15 #include "services/keyboard_native/motion_decay_animation.h" |
16 #include "ui/gfx/geometry/point_f.h" | 16 #include "ui/gfx/geometry/point_f.h" |
17 #include "ui/gfx/geometry/rect_f.h" | 17 #include "ui/gfx/geometry/rect_f.h" |
18 | 18 |
19 namespace keyboard { | 19 namespace keyboard { |
20 | 20 |
21 class KeyboardServiceImpl; | 21 class KeyboardServiceImpl; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 mojo::SurfacePtr surface_; | 81 mojo::SurfacePtr surface_; |
82 base::Closure submit_frame_callback_; | 82 base::Closure submit_frame_callback_; |
83 base::WeakPtrFactory<ViewObserverDelegate> weak_factory_; | 83 base::WeakPtrFactory<ViewObserverDelegate> weak_factory_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(ViewObserverDelegate); | 85 DISALLOW_COPY_AND_ASSIGN(ViewObserverDelegate); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace keyboard | 88 } // namespace keyboard |
89 | 89 |
90 #endif // SERVICES_KEYBOARD_NATIVE_VIEW_OBSERVER_DELEGATE_H_ | 90 #endif // SERVICES_KEYBOARD_NATIVE_VIEW_OBSERVER_DELEGATE_H_ |
OLD | NEW |