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

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

Issue 6708013: Add separate ContentClient interfaces for gpu/plugin/renderer processes. Since we don't have a n... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_client.h"
10
9 class GURL; 11 class GURL;
10 class Profile; 12 class Profile;
11 class RenderViewHost; 13 class RenderViewHost;
12 14
13 namespace content { 15 namespace content {
14 16
15 // Embedder API for participating in browser logic. 17 // Embedder API for participating in browser logic.
16 class ContentBrowserClient { 18 class ContentBrowserClient {
17 public: 19 public:
18 // Initialize a RenderViewHost before its CreateRenderView method is called. 20 // Initialize a RenderViewHost before its CreateRenderView method is called.
19 virtual void OnRenderViewCreation(RenderViewHost* render_view_host, 21 virtual void PreCreateRenderView(RenderViewHost* render_view_host,
20 Profile* profile, 22 Profile* profile,
21 const GURL& url) {} 23 const GURL& url) {}
22 }; 24 };
23 25
24 } // namespace content 26 } // namespace content
25 27
26 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 28 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698