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

Side by Side Diff: content/browser/mock_content_browser_client.cc

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 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "content/browser/webui/empty_web_ui_factory.h" 9 #include "content/browser/webui/empty_web_ui_factory.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/base/clipboard/clipboard.h" 12 #include "ui/base/clipboard/clipboard.h"
13 #include "webkit/glue/webpreferences.h" 13 #include "webkit/glue/webpreferences.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 MockContentBrowserClient::~MockContentBrowserClient() { 17 MockContentBrowserClient::~MockContentBrowserClient() {
18 } 18 }
19 19
20 void MockContentBrowserClient::RenderViewHostCreated( 20 void MockContentBrowserClient::RenderViewHostCreated(
21 RenderViewHost* render_view_host) { 21 RenderViewHost* render_view_host) {
22 } 22 }
23 23
24 void MockContentBrowserClient::RenderViewCreated(
25 RenderViewHost* render_view_host) {
26 }
27
24 void MockContentBrowserClient::BrowserRenderProcessHostCreated( 28 void MockContentBrowserClient::BrowserRenderProcessHostCreated(
25 BrowserRenderProcessHost* host) { 29 BrowserRenderProcessHost* host) {
26 } 30 }
27 31
28 void MockContentBrowserClient::PluginProcessHostCreated( 32 void MockContentBrowserClient::PluginProcessHostCreated(
29 PluginProcessHost* host) { 33 PluginProcessHost* host) {
30 } 34 }
31 35
32 void MockContentBrowserClient::WorkerProcessHostCreated( 36 void MockContentBrowserClient::WorkerProcessHostCreated(
33 WorkerProcessHost* host) { 37 WorkerProcessHost* host) {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 #endif 231 #endif
228 232
229 #if defined(USE_NSS) 233 #if defined(USE_NSS)
230 crypto::CryptoModuleBlockingPasswordDelegate* 234 crypto::CryptoModuleBlockingPasswordDelegate*
231 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 235 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
232 return NULL; 236 return NULL;
233 } 237 }
234 #endif 238 #endif
235 239
236 } // namespace content 240 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698