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

Side by Side Diff: content/browser/devtools/devtools_frontend_host.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 | « chrome/chrome.gyp ('k') | content/browser/devtools/devtools_frontend_host.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 // DevToolsClientHost implementation. 33 // DevToolsClientHost implementation.
34 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE; 34 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE;
35 virtual void InspectedContentsClosing() OVERRIDE; 35 virtual void InspectedContentsClosing() OVERRIDE;
36 virtual void ReplacedWithAnotherClient() OVERRIDE; 36 virtual void ReplacedWithAnotherClient() OVERRIDE;
37 37
38 // WebContentsObserver overrides. 38 // WebContentsObserver overrides.
39 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 39 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
40 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 40 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
41 41
42 void OnDispatchOnInspectorBackend(const std::string& message); 42 void OnDispatchOnInspectorBackend(const std::string& message);
43 void OnActivateWindow(); 43 void OnDispatchOnEmbedder(const std::string& message);
44 void OnChangeAttachedWindowHeight(unsigned height);
45 void OnCloseWindow();
46 void OnMoveWindow(int x, int y);
47 void OnRequestSetDockSide(const std::string& side);
48 void OnOpenInNewTab(const std::string& url);
49 void OnSave(const std::string& url, const std::string& content, bool save_as);
50 void OnAppend(const std::string& url, const std::string& content);
51 void OnRequestFileSystems();
52 void OnAddFileSystem();
53 void OnRemoveFileSystem(const std::string& file_system_path);
54 void OnIndexPath(int request_id, const std::string& file_system_path);
55 void OnStopIndexing(int request_id);
56 void OnSearchInPath(int request_id,
57 const std::string& file_system_path,
58 const std::string& query);
59 44
60 DevToolsFrontendHostDelegate* delegate_; 45 DevToolsFrontendHostDelegate* delegate_;
61 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); 46 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost);
62 }; 47 };
63 48
64 } // namespace content 49 } // namespace content
65 50
66 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ 51 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | content/browser/devtools/devtools_frontend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698