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

Side by Side Diff: content/shell/browser/shell_devtools_frontend.h

Issue 2177983004: [DevTools] Do not use "settings" query param. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 4 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
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const base::Value* arg3); 48 const base::Value* arg3);
49 49
50 protected: 50 protected:
51 ShellDevToolsFrontend(Shell* frontend_shell, WebContents* inspected_contents); 51 ShellDevToolsFrontend(Shell* frontend_shell, WebContents* inspected_contents);
52 ~ShellDevToolsFrontend() override; 52 ~ShellDevToolsFrontend() override;
53 53
54 // content::DevToolsAgentHostClient implementation. 54 // content::DevToolsAgentHostClient implementation.
55 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override; 55 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override;
56 void DispatchProtocolMessage(DevToolsAgentHost* agent_host, 56 void DispatchProtocolMessage(DevToolsAgentHost* agent_host,
57 const std::string& message) override; 57 const std::string& message) override;
58 base::DictionaryValue* preferences() { return &preferences_; } 58 void SetPreferences(const std::string& json);
59 virtual void HandleMessageFromDevToolsFrontend(const std::string& message); 59 virtual void HandleMessageFromDevToolsFrontend(const std::string& message);
60 60
61 private: 61 private:
62 // WebContentsObserver overrides 62 // WebContentsObserver overrides
63 void RenderViewCreated(RenderViewHost* render_view_host) override; 63 void RenderViewCreated(RenderViewHost* render_view_host) override;
64 void DocumentAvailableInMainFrame() override; 64 void DocumentAvailableInMainFrame() override;
65 void WebContentsDestroyed() override; 65 void WebContentsDestroyed() override;
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;
(...skipping 11 matching lines...) Expand all
80 PendingRequestsMap pending_requests_; 80 PendingRequestsMap pending_requests_;
81 base::DictionaryValue preferences_; 81 base::DictionaryValue preferences_;
82 base::WeakPtrFactory<ShellDevToolsFrontend> weak_factory_; 82 base::WeakPtrFactory<ShellDevToolsFrontend> weak_factory_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); 84 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend);
85 }; 85 };
86 86
87 } // namespace content 87 } // namespace content
88 88
89 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 89 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
OLDNEW
« no previous file with comments | « content/shell/browser/layout_test/layout_test_devtools_frontend.cc ('k') | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698