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

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

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 17 matching lines...) Expand all
28 DevToolsFrontendHost(TabContents* tab_contents, 28 DevToolsFrontendHost(TabContents* tab_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 InspectedTabClosing() OVERRIDE;
37 virtual void FrameNavigating(const std::string& url) OVERRIDE; 37 virtual void FrameNavigating(const std::string& url) OVERRIDE;
38 virtual void TabReplaced(TabContents* new_tab) OVERRIDE; 38 virtual void TabReplaced(WebContents* new_tab) 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 OnSaveAs(const std::string& file_name, 50 void OnSaveAs(const std::string& file_name,
51 const std::string& content); 51 const std::string& content);
52 52
53 TabContents* tab_contents_; 53 TabContents* tab_contents_;
54 DevToolsFrontendHostDelegate* delegate_; 54 DevToolsFrontendHostDelegate* delegate_;
55 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); 55 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost);
56 }; 56 };
57 57
58 } // namespace content 58 } // namespace content
59 59
60 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ 60 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sad_tab_observer.cc ('k') | content/browser/debugger/devtools_frontend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698