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

Side by Side Diff: content/browser/debugger/devtools_frontend_host.h

Issue 10065017: TabContents -> WebContentsImpl, part 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/browser/ui/browser.cc ('k') | content/browser/debugger/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_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 15 matching lines...) Expand all
26 public RenderViewHostObserver { 26 public RenderViewHostObserver {
27 public: 27 public:
28 DevToolsFrontendHost(WebContentsImpl* web_contents, 28 DevToolsFrontendHost(WebContentsImpl* web_contents,
29 DevToolsFrontendHostDelegate* delegate); 29 DevToolsFrontendHostDelegate* delegate);
30 30
31 private: 31 private:
32 virtual ~DevToolsFrontendHost(); 32 virtual ~DevToolsFrontendHost();
33 33
34 // DevToolsFrontendHost implementation. 34 // DevToolsFrontendHost implementation.
35 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE; 35 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE;
36 virtual void InspectedTabClosing() OVERRIDE; 36 virtual void InspectedContentsClosing() OVERRIDE;
37 virtual void FrameNavigating(const std::string& url) OVERRIDE; 37 virtual void FrameNavigating(const std::string& url) OVERRIDE;
38 virtual void TabReplaced(WebContents* new_tab) OVERRIDE; 38 virtual void ContentsReplaced(WebContents* new_contents) OVERRIDE;
39 39
40 // content::RenderViewHostObserver overrides. 40 // content::RenderViewHostObserver overrides.
41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
42 42
43 void OnDispatchOnInspectorBackend(const std::string& message); 43 void OnDispatchOnInspectorBackend(const std::string& message);
44 void OnActivateWindow(); 44 void OnActivateWindow();
45 void OnCloseWindow(); 45 void OnCloseWindow();
46 void OnMoveWindow(int x, int y); 46 void OnMoveWindow(int x, int y);
47 void OnRequestDockWindow(); 47 void OnRequestDockWindow();
48 void OnRequestUndockWindow(); 48 void OnRequestUndockWindow();
49 void OnRequestSetDockSide(const std::string& side); 49 void OnRequestSetDockSide(const std::string& side);
50 void OnOpenInNewTab(const std::string& url); 50 void OnOpenInNewTab(const std::string& url);
51 void OnSave(const std::string& url, 51 void OnSave(const std::string& url,
52 const std::string& content, 52 const std::string& content,
53 bool save_as); 53 bool save_as);
54 54
55 WebContentsImpl* tab_contents_; 55 WebContentsImpl* web_contents_;
56 DevToolsFrontendHostDelegate* delegate_; 56 DevToolsFrontendHostDelegate* delegate_;
57 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); 57 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost);
58 }; 58 };
59 59
60 } // namespace content 60 } // namespace content
61 61
62 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ 62 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | content/browser/debugger/devtools_frontend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698