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

Side by Side Diff: content/browser/content_browser_client.h

Issue 7309011: Remove dependencies on extensions from content/browser/debugger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 9 years, 5 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/chrome_tests.gypi ('k') | content/browser/debugger/DEPS » ('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) 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_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback_old.h" 11 #include "base/callback_old.h"
12 #include "content/common/content_client.h" 12 #include "content/common/content_client.h"
13 #include "content/common/window_container_type.h" 13 #include "content/common/window_container_type.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
15 15
16 class BrowserRenderProcessHost; 16 class BrowserRenderProcessHost;
17 class CommandLine; 17 class CommandLine;
18 class DevToolsProtocolHandler;
18 class FilePath; 19 class FilePath;
19 class GURL; 20 class GURL;
21 class ListValue;
20 class PluginProcessHost; 22 class PluginProcessHost;
21 class Profile; 23 class Profile;
22 class QuotaPermissionContext; 24 class QuotaPermissionContext;
23 class RenderViewHost; 25 class RenderViewHost;
24 class ResourceDispatcherHost; 26 class ResourceDispatcherHost;
25 class SSLCertErrorHandler; 27 class SSLCertErrorHandler;
26 class SSLClientAuthHandler; 28 class SSLClientAuthHandler;
27 class SkBitmap; 29 class SkBitmap;
28 class TabContents; 30 class TabContents;
29 class WorkerProcessHost; 31 class WorkerProcessHost;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 virtual std::string GetWorkerProcessTitle( 221 virtual std::string GetWorkerProcessTitle(
220 const GURL& url, const content::ResourceContext& context) = 0; 222 const GURL& url, const content::ResourceContext& context) = 0;
221 223
222 // Getters for common objects. 224 // Getters for common objects.
223 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; 225 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0;
224 virtual ui::Clipboard* GetClipboard() = 0; 226 virtual ui::Clipboard* GetClipboard() = 0;
225 227
226 // Returns true if fast shutdown is possible. 228 // Returns true if fast shutdown is possible.
227 virtual bool IsFastShutdownPossible() = 0; 229 virtual bool IsFastShutdownPossible() = 0;
228 230
231 // Adds any embedder-specific remote protocol handlers to the debugger.
232 virtual void RegisterDevToolsRemoteListeners(
233 DevToolsProtocolHandler* proto_handler) = 0;
234
235 // Adds values to |results| that should be passed to the debugger's
236 // |WebInspector.addExtensions| JavaScript function for the given
237 // debugger tab.
238 virtual void GetAdditionalStartPagesForDevTools(
239 TabContents* dev_tools_tab, ListValue* results) = 0;
240
229 #if defined(OS_POSIX) && !defined(OS_MACOSX) 241 #if defined(OS_POSIX) && !defined(OS_MACOSX)
230 // Can return an optional fd for crash handling, otherwise returns -1. 242 // Can return an optional fd for crash handling, otherwise returns -1.
231 virtual int GetCrashSignalFD(const std::string& process_type) = 0; 243 virtual int GetCrashSignalFD(const std::string& process_type) = 0;
232 #endif 244 #endif
233 245
234 #if defined(USE_NSS) 246 #if defined(USE_NSS)
235 // Return a delegate to authenticate and unlock |module|. 247 // Return a delegate to authenticate and unlock |module|.
236 // This is called on a worker thread. 248 // This is called on a worker thread.
237 virtual 249 virtual
238 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 250 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
239 const GURL& url) = 0; 251 const GURL& url) = 0;
240 #endif 252 #endif
241 }; 253 };
242 254
243 } // namespace content 255 } // namespace content
244 256
245 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 257 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/debugger/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698