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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 7612016: Tie extension/app initialization to RenderView creation, not RenderViewHost creation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to initializing extensions when a RenderView is created, as opposed to a RenderViewHost. Created 9 years, 4 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) 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/browser/content_browser_client.h" 10 #include "content/browser/content_browser_client.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 13
14 class ChromeContentBrowserClient : public content::ContentBrowserClient { 14 class ChromeContentBrowserClient : public content::ContentBrowserClient {
15 public: 15 public:
16 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; 16 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE;
17 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
17 virtual void BrowserRenderProcessHostCreated( 18 virtual void BrowserRenderProcessHostCreated(
18 BrowserRenderProcessHost* host) OVERRIDE; 19 BrowserRenderProcessHost* host) OVERRIDE;
19 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; 20 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
20 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; 21 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE;
21 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; 22 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
22 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 23 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
23 const GURL& effective_url) OVERRIDE; 24 const GURL& effective_url) OVERRIDE;
24 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 25 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
25 const GURL& url) OVERRIDE; 26 const GURL& url) OVERRIDE;
26 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 27 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 #if defined(USE_NSS) 114 #if defined(USE_NSS)
114 virtual 115 virtual
115 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 116 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
116 const GURL& url) OVERRIDE; 117 const GURL& url) OVERRIDE;
117 #endif 118 #endif
118 }; 119 };
119 120
120 } // namespace chrome 121 } // namespace chrome
121 122
122 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 123 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698