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

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

Issue 12328029: Plumb HostDesktopType through BrowserListTabContentsProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_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 "chrome/browser/ui/host_desktop.h"
13 #include "content/public/browser/devtools_http_handler_delegate.h" 14 #include "content/public/browser/devtools_http_handler_delegate.h"
14 15
15 class Profile; 16 class Profile;
16 17
17 class BrowserListTabContentsProvider 18 class BrowserListTabContentsProvider
18 : public content::DevToolsHttpHandlerDelegate { 19 : public content::DevToolsHttpHandlerDelegate {
19 public: 20 public:
20 explicit BrowserListTabContentsProvider(Profile* profile); 21 BrowserListTabContentsProvider(Profile* profile,
22 chrome::HostDesktopType host_desktop_type);
21 virtual ~BrowserListTabContentsProvider(); 23 virtual ~BrowserListTabContentsProvider();
22 24
23 // DevToolsHttpProtocolHandler::Delegate overrides. 25 // DevToolsHttpProtocolHandler::Delegate overrides.
24 virtual std::string GetDiscoveryPageHTML() OVERRIDE; 26 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
25 virtual bool BundlesFrontendResources() OVERRIDE; 27 virtual bool BundlesFrontendResources() OVERRIDE;
26 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; 28 virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
27 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; 29 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
28 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE; 30 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE;
29 virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE; 31 virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE;
30 32
31 private: 33 private:
32 Profile* profile_; 34 Profile* profile_;
35 chrome::HostDesktopType host_desktop_type_;
33 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); 36 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider);
34 }; 37 };
35 38
36 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 39 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/devtools/browser_list_tabcontents_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698