OLD | NEW |
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 "chrome/browser/ui/host_desktop.h" | 8 #include "chrome/browser/ui/host_desktop.h" |
9 #include "content/public/browser/devtools_http_handler_delegate.h" | 9 #include "content/public/browser/devtools_http_handler_delegate.h" |
10 | 10 |
11 class BrowserListTabContentsProvider | 11 class BrowserListTabContentsProvider |
12 : public content::DevToolsHttpHandlerDelegate { | 12 : public content::DevToolsHttpHandlerDelegate { |
13 public: | 13 public: |
14 explicit BrowserListTabContentsProvider( | 14 BrowserListTabContentsProvider(); |
15 chrome::HostDesktopType host_desktop_type); | |
16 ~BrowserListTabContentsProvider() override; | 15 ~BrowserListTabContentsProvider() override; |
17 | 16 |
18 // DevToolsHttpHandlerDelegate implementation. | 17 // DevToolsHttpHandlerDelegate implementation. |
19 std::string GetDiscoveryPageHTML() override; | 18 std::string GetDiscoveryPageHTML() override; |
20 bool BundlesFrontendResources() override; | 19 bool BundlesFrontendResources() override; |
21 base::FilePath GetDebugFrontendDir() override; | 20 base::FilePath GetDebugFrontendDir() override; |
22 | 21 |
23 private: | 22 private: |
24 chrome::HostDesktopType host_desktop_type_; | |
25 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); | 23 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); |
26 }; | 24 }; |
27 | 25 |
28 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | 26 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ |
OLD | NEW |