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

Side by Side Diff: components/html_viewer/html_document.h

Issue 1163953002: html_viewer: Add DevToolsAgentImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't create DevToolsAgentImpl instance unless --remote-debugging-port is specified 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
« no previous file with comments | « components/html_viewer/devtools_agent_impl.cc ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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
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_
OLDNEW
« no previous file with comments | « components/html_viewer/devtools_agent_impl.cc ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698