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; |
45 class Setup; | 46 class Setup; |
46 class WebLayerTreeViewImpl; | 47 class WebLayerTreeViewImpl; |
47 | 48 |
48 // A view for a single HTML document. | 49 // A view for a single HTML document. |
49 class HTMLDocument : public blink::WebViewClient, | 50 class HTMLDocument : public blink::WebViewClient, |
50 public blink::WebFrameClient, | 51 public blink::WebFrameClient, |
51 public mojo::ViewManagerDelegate, | 52 public mojo::ViewManagerDelegate, |
52 public mojo::ViewObserver, | 53 public mojo::ViewObserver, |
53 public mojo::InterfaceFactory<mojo::AxProvider>, | 54 public mojo::InterfaceFactory<mojo::AxProvider>, |
54 public mojo::InterfaceFactory<mandoline::FrameTreeClient> { | 55 public mojo::InterfaceFactory<mandoline::FrameTreeClient> { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 161 |
161 Setup* setup_; | 162 Setup* setup_; |
162 | 163 |
163 scoped_ptr<TouchHandler> touch_handler_; | 164 scoped_ptr<TouchHandler> touch_handler_; |
164 | 165 |
165 FrameToViewMap frame_to_view_; | 166 FrameToViewMap frame_to_view_; |
166 | 167 |
167 FrameTreeManager frame_tree_manager_; | 168 FrameTreeManager frame_tree_manager_; |
168 mojo::Binding<mandoline::FrameTreeClient> frame_tree_manager_binding_; | 169 mojo::Binding<mandoline::FrameTreeClient> frame_tree_manager_binding_; |
169 | 170 |
| 171 scoped_ptr<DevToolsAgentImpl> devtools_agent_; |
| 172 |
170 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 173 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
171 }; | 174 }; |
172 | 175 |
173 } // namespace html_viewer | 176 } // namespace html_viewer |
174 | 177 |
175 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 178 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
OLD | NEW |