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

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

Issue 22972007: Migrate DevToolsWindow from specific to opaque frontend host messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/devtools/devtools_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 20 matching lines...) Expand all
31 31
32 private: 32 private:
33 ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host); 33 ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host);
34 virtual ~ShellDevToolsFrontend(); 34 virtual ~ShellDevToolsFrontend();
35 35
36 // WebContentsObserver overrides 36 // WebContentsObserver overrides
37 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 37 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
38 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; 38 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
39 39
40 // DevToolsFrontendHostDelegate implementation 40 // DevToolsFrontendHostDelegate implementation
41 virtual void ActivateWindow() OVERRIDE {} 41 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE {}
42 virtual void ChangeAttachedWindowHeight(unsigned height) OVERRIDE {}
43 virtual void CloseWindow() OVERRIDE {}
44 virtual void MoveWindow(int x, int y) OVERRIDE {}
45 virtual void SetDockSide(const std::string& side) OVERRIDE {}
46 virtual void OpenInNewTab(const std::string& url) OVERRIDE {}
47 virtual void SaveToFile(const std::string& url,
48 const std::string& content,
49 bool save_as) OVERRIDE {}
50 virtual void AppendToFile(const std::string& url,
51 const std::string& content) OVERRIDE {}
52 virtual void RequestFileSystems() OVERRIDE {}
53 virtual void AddFileSystem() OVERRIDE {}
54 virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE {}
55 virtual void IndexPath(int request_id,
56 const std::string& file_system_path) OVERRIDE {}
57 virtual void StopIndexing(int request_id) OVERRIDE {}
58 virtual void SearchInPath(int request_id,
59 const std::string& file_system_path,
60 const std::string& query) OVERRIDE {}
61 42
62 virtual void InspectedContentsClosing() OVERRIDE; 43 virtual void InspectedContentsClosing() OVERRIDE;
63 44
64 Shell* frontend_shell_; 45 Shell* frontend_shell_;
65 scoped_refptr<DevToolsAgentHost> agent_host_; 46 scoped_refptr<DevToolsAgentHost> agent_host_;
66 scoped_ptr<DevToolsClientHost> frontend_host_; 47 scoped_ptr<DevToolsClientHost> frontend_host_;
67 48
68 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); 49 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend);
69 }; 50 };
70 51
71 } // namespace content 52 } // namespace content
72 53
73 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 54 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools/devtools_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698