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

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

Issue 9566001: Hide MHTMLGenerationManager from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 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 <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "content/public/common/content_client.h" 14 #include "content/public/common/content_client.h"
15 #include "content/public/common/media_stream_request.h" 15 #include "content/public/common/media_stream_request.h"
16 #include "content/public/common/window_container_type.h" 16 #include "content/public/common/window_container_type.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
18 18
19 class BrowserURLHandler; 19 class BrowserURLHandler;
20 class CommandLine; 20 class CommandLine;
21 class FilePath; 21 class FilePath;
22 class GURL; 22 class GURL;
23 class MHTMLGenerationManager;
24 class PluginProcessHost; 23 class PluginProcessHost;
25 class QuotaPermissionContext; 24 class QuotaPermissionContext;
26 class RenderViewHost; 25 class RenderViewHost;
27 class ResourceDispatcherHost; 26 class ResourceDispatcherHost;
28 class SkBitmap; 27 class SkBitmap;
29 struct WebPreferences; 28 struct WebPreferences;
30 29
31 namespace content { 30 namespace content {
32 class AccessTokenStore; 31 class AccessTokenStore;
33 class BrowserMainParts; 32 class BrowserMainParts;
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // Notifies the embedder that the ResourceDispatcherHost has been created. 314 // Notifies the embedder that the ResourceDispatcherHost has been created.
316 // This is when it can optionally add a delegate or ResourceQueueDelegates. 315 // This is when it can optionally add a delegate or ResourceQueueDelegates.
317 virtual void ResourceDispatcherHostCreated() = 0; 316 virtual void ResourceDispatcherHostCreated() = 0;
318 317
319 // Allows the embedder to return a delegate for the SpeechInputManager. The 318 // Allows the embedder to return a delegate for the SpeechInputManager. The
320 // delegate will be owned by the manager. It's valid to return NULL. 319 // delegate will be owned by the manager. It's valid to return NULL.
321 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() = 0; 320 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() = 0;
322 321
323 // Getters for common objects. 322 // Getters for common objects.
324 virtual ui::Clipboard* GetClipboard() = 0; 323 virtual ui::Clipboard* GetClipboard() = 0;
325 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0;
326 virtual net::NetLog* GetNetLog() = 0; 324 virtual net::NetLog* GetNetLog() = 0;
327 325
328 // Creates a new AccessTokenStore for gelocation. 326 // Creates a new AccessTokenStore for gelocation.
329 virtual AccessTokenStore* CreateAccessTokenStore() = 0; 327 virtual AccessTokenStore* CreateAccessTokenStore() = 0;
330 328
331 // Returns true if fast shutdown is possible. 329 // Returns true if fast shutdown is possible.
332 virtual bool IsFastShutdownPossible() = 0; 330 virtual bool IsFastShutdownPossible() = 0;
333 331
334 // Called by WebContents to override the WebKit preferences that are used by 332 // Called by WebContents to override the WebKit preferences that are used by
335 // the renderer. The content layer will add its own settings, and then it's up 333 // the renderer. The content layer will add its own settings, and then it's up
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 // This is called on a worker thread. 380 // This is called on a worker thread.
383 virtual 381 virtual
384 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 382 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
385 const GURL& url) = 0; 383 const GURL& url) = 0;
386 #endif 384 #endif
387 }; 385 };
388 386
389 } // namespace content 387 } // namespace content
390 388
391 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 389 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698