| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_CLIENT_CORE_RENDER_WIDGET_BLIMP_DOCUMENT_MANAGER_H_ | 5 #ifndef BLIMP_CLIENT_CORE_RENDER_WIDGET_BLIMP_DOCUMENT_MANAGER_H_ |
| 6 #define BLIMP_CLIENT_CORE_RENDER_WIDGET_BLIMP_DOCUMENT_MANAGER_H_ | 6 #define BLIMP_CLIENT_CORE_RENDER_WIDGET_BLIMP_DOCUMENT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "blimp/client/core/compositor/blimp_compositor.h" | 11 #include "blimp/client/core/compositor/blimp_compositor.h" |
| 12 #include "blimp/client/core/render_widget/render_widget_feature.h" | 12 #include "blimp/client/core/render_widget/render_widget_feature.h" |
| 13 #include "cc/layers/layer.h" | 13 #include "cc/layers/layer.h" |
| 14 #include "cc/trees/layer_tree_settings.h" | 14 #include "cc/trees/layer_tree_settings.h" |
| 15 #include "ui/events/gesture_detection/motion_event.h" |
| 15 | 16 |
| 16 namespace blimp { | 17 namespace blimp { |
| 17 namespace client { | 18 namespace client { |
| 18 | 19 |
| 19 class BlimpDocument; | 20 class BlimpDocument; |
| 20 | 21 |
| 21 // The BlimpDocumentManager is responsible for managing multiple BlimpDocument | 22 // The BlimpDocumentManager is responsible for managing multiple BlimpDocument |
| 22 // instances, each mapped to a render widget on the engine. | 23 // instances, each mapped to a render widget on the engine. |
| 23 // The |document_id_| matches the |render_widget_id| of the | 24 // The |document_id_| matches the |render_widget_id| of the |
| 24 // render widget messages which are routed to the engine side render widget. | 25 // render widget messages which are routed to the engine side render widget. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 100 |
| 100 BlimpCompositorDependencies* compositor_dependencies_; | 101 BlimpCompositorDependencies* compositor_dependencies_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(BlimpDocumentManager); | 103 DISALLOW_COPY_AND_ASSIGN(BlimpDocumentManager); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace client | 106 } // namespace client |
| 106 } // namespace blimp | 107 } // namespace blimp |
| 107 | 108 |
| 108 #endif // BLIMP_CLIENT_CORE_RENDER_WIDGET_BLIMP_DOCUMENT_MANAGER_H_ | 109 #endif // BLIMP_CLIENT_CORE_RENDER_WIDGET_BLIMP_DOCUMENT_MANAGER_H_ |
| OLD | NEW |