| 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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "content/public/browser/devtools_frontend_host.h" | 22 #include "content/public/browser/devtools_frontend_host.h" |
| 23 #include "net/url_request/url_fetcher_delegate.h" | 23 #include "net/url_request/url_fetcher_delegate.h" |
| 24 #include "ui/gfx/geometry/size.h" | 24 #include "ui/gfx/geometry/size.h" |
| 25 | 25 |
| 26 class DevToolsAndroidBridge; | 26 class DevToolsAndroidBridge; |
| 27 class InfoBarService; | 27 class InfoBarService; |
| 28 class Profile; | 28 class Profile; |
| 29 class PortForwardingStatusSerializer; | 29 class PortForwardingStatusSerializer; |
| 30 | 30 |
| 31 namespace content { | 31 namespace content { |
| 32 struct FileChooserParams; | |
| 33 class WebContents; | 32 class WebContents; |
| 34 } | 33 } |
| 35 | 34 |
| 36 // Base implementation of DevTools bindings around front-end. | 35 // Base implementation of DevTools bindings around front-end. |
| 37 class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate, | 36 class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate, |
| 38 public DevToolsAndroidBridge::DeviceCountListener, | 37 public DevToolsAndroidBridge::DeviceCountListener, |
| 39 public content::DevToolsAgentHostClient, | 38 public content::DevToolsAgentHostClient, |
| 40 public net::URLFetcherDelegate, | 39 public net::URLFetcherDelegate, |
| 41 public DevToolsFileHelper::Delegate { | 40 public DevToolsFileHelper::Delegate { |
| 42 public: | 41 public: |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 embedder_message_dispatcher_; | 229 embedder_message_dispatcher_; |
| 231 GURL url_; | 230 GURL url_; |
| 232 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; | 231 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; |
| 233 PendingRequestsMap pending_requests_; | 232 PendingRequestsMap pending_requests_; |
| 234 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; | 233 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; |
| 235 | 234 |
| 236 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); | 235 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); |
| 237 }; | 236 }; |
| 238 | 237 |
| 239 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 238 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
| OLD | NEW |