OLD | NEW |
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_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_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/renderer/content_renderer_client.h" | 10 #include "content/public/renderer/content_renderer_client.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class ShellContentRendererClient : public ContentRendererClient { | 14 class ShellContentRendererClient : public ContentRendererClient { |
15 public: | 15 public: |
16 virtual ~ShellContentRendererClient(); | 16 virtual ~ShellContentRendererClient(); |
17 virtual void RenderThreadStarted() OVERRIDE; | 17 virtual void RenderThreadStarted() OVERRIDE; |
18 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; | 18 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; |
19 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 19 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
20 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 20 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual bool HandleSetCookieRequest(RenderView* sender, | 61 virtual bool HandleSetCookieRequest(RenderView* sender, |
62 const GURL& url, | 62 const GURL& url, |
63 const GURL& first_party_for_cookies, | 63 const GURL& first_party_for_cookies, |
64 const std::string& value) OVERRIDE; | 64 const std::string& value) OVERRIDE; |
65 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; | 65 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace content | 68 } // namespace content |
69 | 69 |
70 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 70 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |