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

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

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
« no previous file with comments | « content/public/app/content_main_delegate.h ('k') | content/public/common/content_restriction.h » ('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_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 10
(...skipping 17 matching lines...) Expand all
28 class RenderWidgetHost; 28 class RenderWidgetHost;
29 class RenderWidgetHostView; 29 class RenderWidgetHostView;
30 class ResourceDispatcherHost; 30 class ResourceDispatcherHost;
31 class SSLCertErrorHandler; 31 class SSLCertErrorHandler;
32 class SSLClientAuthHandler; 32 class SSLClientAuthHandler;
33 class SkBitmap; 33 class SkBitmap;
34 class TabContents; 34 class TabContents;
35 class TabContentsView; 35 class TabContentsView;
36 class WorkerProcessHost; 36 class WorkerProcessHost;
37 struct DesktopNotificationHostMsg_Show_Params; 37 struct DesktopNotificationHostMsg_Show_Params;
38 struct MainFunctionParams;
39 struct WebPreferences; 38 struct WebPreferences;
40 39
41 namespace content { 40 namespace content {
42 class BrowserMainParts; 41 class BrowserMainParts;
42 struct MainFunctionParams;
43 } 43 }
44 44
45 namespace crypto { 45 namespace crypto {
46 class CryptoModuleBlockingPasswordDelegate; 46 class CryptoModuleBlockingPasswordDelegate;
47 } 47 }
48 48
49 namespace net { 49 namespace net {
50 class CookieList; 50 class CookieList;
51 class CookieOptions; 51 class CookieOptions;
52 class NetLog; 52 class NetLog;
(...skipping 26 matching lines...) Expand all
79 // that either already has a hook out to the embedder, or calls out to one of 79 // that either already has a hook out to the embedder, or calls out to one of
80 // the observer interfaces.) 80 // the observer interfaces.)
81 class ContentBrowserClient { 81 class ContentBrowserClient {
82 public: 82 public:
83 virtual ~ContentBrowserClient() {} 83 virtual ~ContentBrowserClient() {}
84 84
85 // Allows the embedder to set any number of custom BrowserMainParts 85 // Allows the embedder to set any number of custom BrowserMainParts
86 // implementations for the browser startup code. See comments in 86 // implementations for the browser startup code. See comments in
87 // browser_main_parts.h. 87 // browser_main_parts.h.
88 virtual void CreateBrowserMainParts( 88 virtual void CreateBrowserMainParts(
89 const MainFunctionParams& parameters, 89 const content::MainFunctionParams& parameters,
90 std::vector<BrowserMainParts*>* parts_list) = 0; 90 std::vector<BrowserMainParts*>* parts_list) = 0;
91 91
92 // Platform-specific creator. Use this to construct new RenderWidgetHostViews 92 // Platform-specific creator. Use this to construct new RenderWidgetHostViews
93 // rather than using RenderWidgetHostViewWin & friends. 93 // rather than using RenderWidgetHostViewWin & friends.
94 // 94 //
95 // This function must NOT size it, because the RenderView in the renderer 95 // This function must NOT size it, because the RenderView in the renderer
96 // wouldn't have been created yet. The widget would set its "waiting for 96 // wouldn't have been created yet. The widget would set its "waiting for
97 // resize ack" flag, and the ack would never come becasue no RenderView 97 // resize ack" flag, and the ack would never come becasue no RenderView
98 // received it. 98 // received it.
99 // 99 //
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // This is called on a worker thread. 341 // This is called on a worker thread.
342 virtual 342 virtual
343 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 343 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
344 const GURL& url) = 0; 344 const GURL& url) = 0;
345 #endif 345 #endif
346 }; 346 };
347 347
348 } // namespace content 348 } // namespace content
349 349
350 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 350 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/app/content_main_delegate.h ('k') | content/public/common/content_restriction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698