| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.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 "content/public/common/page_transition_types.h" | 14 #include "content/public/common/page_transition_types.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h
" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h
" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" |
| 18 #include "v8/include/v8.h" | 18 #include "v8/include/v8.h" |
| 19 | 19 |
| 20 class GURL; | 20 class GURL; |
| 21 class MessageLoop; | |
| 22 class SkBitmap; | 21 class SkBitmap; |
| 23 | 22 |
| 24 namespace base { | 23 namespace base { |
| 25 class FilePath; | 24 class FilePath; |
| 25 class MessageLoop; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace WebKit { | 28 namespace WebKit { |
| 29 class WebClipboard; | 29 class WebClipboard; |
| 30 class WebFrame; | 30 class WebFrame; |
| 31 class WebHyphenator; | 31 class WebHyphenator; |
| 32 class WebMediaPlayerClient; | 32 class WebMediaPlayerClient; |
| 33 class WebMediaStreamCenter; | 33 class WebMediaStreamCenter; |
| 34 class WebMediaStreamCenterClient; | 34 class WebMediaStreamCenterClient; |
| 35 class WebMimeRegistry; | 35 class WebMimeRegistry; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 virtual void RegisterPPAPIInterfaceFactories( | 225 virtual void RegisterPPAPIInterfaceFactories( |
| 226 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {} | 226 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {} |
| 227 | 227 |
| 228 // Returns whether BrowserPlugin should be allowed within the |container|. | 228 // Returns whether BrowserPlugin should be allowed within the |container|. |
| 229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; | 229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; |
| 230 | 230 |
| 231 // Allow the embedder to specify a different renderer compositor MessageLoop. | 231 // Allow the embedder to specify a different renderer compositor MessageLoop. |
| 232 // If not NULL, the returned MessageLoop must be valid for the lifetime of | 232 // If not NULL, the returned MessageLoop must be valid for the lifetime of |
| 233 // RenderThreadImpl. If NULL, then a new thread will be created. | 233 // RenderThreadImpl. If NULL, then a new thread will be created. |
| 234 virtual MessageLoop* OverrideCompositorMessageLoop() const; | 234 virtual base::MessageLoop* OverrideCompositorMessageLoop() const; |
| 235 | 235 |
| 236 // Allow the embedder to disable input event filtering by the compositor. | 236 // Allow the embedder to disable input event filtering by the compositor. |
| 237 virtual bool ShouldCreateCompositorInputHandler() const; | 237 virtual bool ShouldCreateCompositorInputHandler() const; |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace content | 240 } // namespace content |
| 241 | 241 |
| 242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |