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

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

Issue 8609010: Make DevToolsManager a singleton, remove it from ContentBrowserClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted notification service changes, use non-leaky singleton Created 9 years, 1 month 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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "content/public/common/window_container_type.h" 13 #include "content/public/common/window_container_type.h"
14 #include "content/public/common/content_client.h" 14 #include "content/public/common/content_client.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
16 16
17 class AccessTokenStore; 17 class AccessTokenStore;
18 class BrowserURLHandler; 18 class BrowserURLHandler;
19 class CommandLine; 19 class CommandLine;
20 class DevToolsManager;
21 class FilePath; 20 class FilePath;
22 class GURL; 21 class GURL;
23 class MHTMLGenerationManager; 22 class MHTMLGenerationManager;
24 class PluginProcessHost; 23 class PluginProcessHost;
25 class QuotaPermissionContext; 24 class QuotaPermissionContext;
26 class RenderViewHost; 25 class RenderViewHost;
27 class RenderWidgetHost; 26 class RenderWidgetHost;
28 class RenderWidgetHostView; 27 class RenderWidgetHostView;
29 class ResourceDispatcherHost; 28 class ResourceDispatcherHost;
30 class SiteInstance; 29 class SiteInstance;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Returns a title string to use in the task manager for a process host with 300 // Returns a title string to use in the task manager for a process host with
302 // the given URL, or the empty string to fall back to the default logic. 301 // the given URL, or the empty string to fall back to the default logic.
303 // This is called on the IO thread. 302 // This is called on the IO thread.
304 virtual std::string GetWorkerProcessTitle( 303 virtual std::string GetWorkerProcessTitle(
305 const GURL& url, const content::ResourceContext& context) = 0; 304 const GURL& url, const content::ResourceContext& context) = 0;
306 305
307 // Getters for common objects. 306 // Getters for common objects.
308 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; 307 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0;
309 virtual ui::Clipboard* GetClipboard() = 0; 308 virtual ui::Clipboard* GetClipboard() = 0;
310 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; 309 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0;
311 virtual DevToolsManager* GetDevToolsManager() = 0;
312 virtual net::NetLog* GetNetLog() = 0; 310 virtual net::NetLog* GetNetLog() = 0;
313 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; 311 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0;
314 312
315 // Creates a new AccessTokenStore for gelocation. 313 // Creates a new AccessTokenStore for gelocation.
316 virtual AccessTokenStore* CreateAccessTokenStore() = 0; 314 virtual AccessTokenStore* CreateAccessTokenStore() = 0;
317 315
318 // Returns true if fast shutdown is possible. 316 // Returns true if fast shutdown is possible.
319 virtual bool IsFastShutdownPossible() = 0; 317 virtual bool IsFastShutdownPossible() = 0;
320 318
321 // Returns the WebKit preferences that are used by the renderer. 319 // Returns the WebKit preferences that are used by the renderer.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // This is called on a worker thread. 361 // This is called on a worker thread.
364 virtual 362 virtual
365 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 363 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
366 const GURL& url) = 0; 364 const GURL& url) = 0;
367 #endif 365 #endif
368 }; 366 };
369 367
370 } // namespace content 368 } // namespace content
371 369
372 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 370 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698