| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 // net::URLFetcherDelegate overrides. | 67 // net::URLFetcherDelegate overrides. |
| 68 void OnURLFetchComplete(const net::URLFetcher* source) override; | 68 void OnURLFetchComplete(const net::URLFetcher* source) override; |
| 69 | 69 |
| 70 void SendMessageAck(int request_id, | 70 void SendMessageAck(int request_id, |
| 71 const base::Value* arg1); | 71 const base::Value* arg1); |
| 72 | 72 |
| 73 Shell* frontend_shell_; | 73 Shell* frontend_shell_; |
| 74 WebContents* inspected_contents_; | 74 WebContents* inspected_contents_; |
| 75 scoped_refptr<DevToolsAgentHost> agent_host_; | 75 scoped_refptr<DevToolsAgentHost> agent_host_; |
| 76 int inspect_element_at_x_; |
| 77 int inspect_element_at_y_; |
| 76 std::unique_ptr<DevToolsFrontendHost> frontend_host_; | 78 std::unique_ptr<DevToolsFrontendHost> frontend_host_; |
| 77 using PendingRequestsMap = std::map<const net::URLFetcher*, int>; | 79 using PendingRequestsMap = std::map<const net::URLFetcher*, int>; |
| 78 PendingRequestsMap pending_requests_; | 80 PendingRequestsMap pending_requests_; |
| 79 base::DictionaryValue preferences_; | 81 base::DictionaryValue preferences_; |
| 80 base::WeakPtrFactory<ShellDevToolsFrontend> weak_factory_; | 82 base::WeakPtrFactory<ShellDevToolsFrontend> weak_factory_; |
| 81 | 83 |
| 82 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); | 84 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); |
| 83 }; | 85 }; |
| 84 | 86 |
| 85 } // namespace content | 87 } // namespace content |
| 86 | 88 |
| 87 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ | 89 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ |
| OLD | NEW |