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

Side by Side Diff: chrome/browser/debugger/browser_list_tabcontents_provider.h

Issue 11033046: DevTools: [remote debugging] introduce json/new and json/close for creating and closing the tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing anroid_dbg Created 8 years, 2 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) 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 CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
6 #define CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 6 #define CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "content/public/browser/devtools_http_handler_delegate.h" 13 #include "content/public/browser/devtools_http_handler_delegate.h"
14 14
15 namespace content {
16 class WebContents;
17 }
18
19 class BrowserListTabContentsProvider 15 class BrowserListTabContentsProvider
20 : public content::DevToolsHttpHandlerDelegate { 16 : public content::DevToolsHttpHandlerDelegate {
21 public: 17 public:
22 BrowserListTabContentsProvider(); 18 BrowserListTabContentsProvider();
23 virtual ~BrowserListTabContentsProvider(); 19 virtual ~BrowserListTabContentsProvider();
24 20
25 // DevToolsHttpProtocolHandler::Delegate overrides. 21 // DevToolsHttpProtocolHandler::Delegate overrides.
26 virtual std::string GetDiscoveryPageHTML() OVERRIDE; 22 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
27 virtual bool BundlesFrontendResources() OVERRIDE; 23 virtual bool BundlesFrontendResources() OVERRIDE;
28 virtual FilePath GetDebugFrontendDir() OVERRIDE; 24 virtual FilePath GetDebugFrontendDir() OVERRIDE;
29 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; 25 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
26 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE;
30 27
31 private: 28 private:
32 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); 29 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider);
33 }; 30 };
34 31
35 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 32 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698