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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 8440027: Change renderer_client interface for registering PPAPI Factories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update other renderer_clients 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
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_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "ipc/ipc_message.h" 12 #include "ipc/ipc_message.h"
13 #include "content/public/common/content_client.h" 13 #include "content/public/common/content_client.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
15 15
16 class FilePath; 16 class FilePath;
17 class GURL; 17 class GURL;
18 class SkBitmap; 18 class SkBitmap;
19 19
20 namespace WebKit { 20 namespace WebKit {
21 class WebFrame; 21 class WebFrame;
22 class WebPlugin; 22 class WebPlugin;
23 class WebURLRequest; 23 class WebURLRequest;
24 struct WebPluginParams; 24 struct WebPluginParams;
25 struct WebURLError; 25 struct WebURLError;
26 } 26 }
27 27
28 namespace webkit {
29 namespace ppapi {
30 class PpapiInterfaceFactoryManager;
31 }
32 }
33
28 namespace v8 { 34 namespace v8 {
29 class Context; 35 class Context;
30 template<class T> class Handle; 36 template<class T> class Handle;
31 } 37 }
32 38
33 namespace content { 39 namespace content {
34 40
35 class RenderView; 41 class RenderView;
36 42
37 // Embedder API for participating in renderer logic. 43 // Embedder API for participating in renderer logic.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Return true if the SetCookie request will be handled by the embedder. 141 // Return true if the SetCookie request will be handled by the embedder.
136 // Cookies to be set are passed in the value parameter. 142 // Cookies to be set are passed in the value parameter.
137 virtual bool HandleSetCookieRequest(RenderView* sender, 143 virtual bool HandleSetCookieRequest(RenderView* sender,
138 const GURL& url, 144 const GURL& url,
139 const GURL& first_party_for_cookies, 145 const GURL& first_party_for_cookies,
140 const std::string& value) = 0; 146 const std::string& value) = 0;
141 147
142 // True if the protocol implemented to serve |url| supports features required 148 // True if the protocol implemented to serve |url| supports features required
143 // by the media engine. 149 // by the media engine.
144 virtual bool IsProtocolSupportedForMedia(const GURL& url) = 0; 150 virtual bool IsProtocolSupportedForMedia(const GURL& url) = 0;
151
152 virtual void RegisterPPAPIInterfaceFactories(
153 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0;
145 }; 154 };
146 155
147 } // namespace content 156 } // namespace content
148 157
149 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 158 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_ppapi_interfaces.cc ('k') | content/renderer/mock_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698