| 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 COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace mojo { | 37 namespace mojo { |
| 38 class ViewManager; | 38 class ViewManager; |
| 39 class View; | 39 class View; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace html_viewer { | 42 namespace html_viewer { |
| 43 | 43 |
| 44 class AxProviderImpl; | 44 class AxProviderImpl; |
| 45 class DevToolsAgentImpl; | |
| 46 class Setup; | 45 class Setup; |
| 47 class WebLayerTreeViewImpl; | 46 class WebLayerTreeViewImpl; |
| 48 | 47 |
| 49 // A view for a single HTML document. | 48 // A view for a single HTML document. |
| 50 class HTMLDocument : public blink::WebViewClient, | 49 class HTMLDocument : public blink::WebViewClient, |
| 51 public blink::WebFrameClient, | 50 public blink::WebFrameClient, |
| 52 public mojo::ViewManagerDelegate, | 51 public mojo::ViewManagerDelegate, |
| 53 public mojo::ViewObserver, | 52 public mojo::ViewObserver, |
| 54 public mojo::InterfaceFactory<mojo::AxProvider>, | 53 public mojo::InterfaceFactory<mojo::AxProvider>, |
| 55 public mojo::InterfaceFactory<mandoline::FrameTreeClient> { | 54 public mojo::InterfaceFactory<mandoline::FrameTreeClient> { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 164 |
| 166 Setup* setup_; | 165 Setup* setup_; |
| 167 | 166 |
| 168 scoped_ptr<TouchHandler> touch_handler_; | 167 scoped_ptr<TouchHandler> touch_handler_; |
| 169 | 168 |
| 170 FrameToViewMap frame_to_view_; | 169 FrameToViewMap frame_to_view_; |
| 171 | 170 |
| 172 FrameTreeManager frame_tree_manager_; | 171 FrameTreeManager frame_tree_manager_; |
| 173 mojo::Binding<mandoline::FrameTreeClient> frame_tree_manager_binding_; | 172 mojo::Binding<mandoline::FrameTreeClient> frame_tree_manager_binding_; |
| 174 | 173 |
| 175 scoped_ptr<DevToolsAgentImpl> devtools_agent_; | |
| 176 | |
| 177 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 174 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
| 178 }; | 175 }; |
| 179 | 176 |
| 180 } // namespace html_viewer | 177 } // namespace html_viewer |
| 181 | 178 |
| 182 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 179 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| OLD | NEW |