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_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <string> |
| 10 |
9 #include "content/common/content_client.h" | 11 #include "content/common/content_client.h" |
10 | 12 |
11 class SkBitmap; | 13 class SkBitmap; |
12 | 14 |
13 namespace content { | 15 namespace content { |
14 | 16 |
15 // Embedder API for participating in renderer logic. | 17 // Embedder API for participating in renderer logic. |
16 class ContentRendererClient { | 18 class ContentRendererClient { |
17 public: | 19 public: |
18 virtual SkBitmap* GetSadPluginBitmap(); | 20 virtual SkBitmap* GetSadPluginBitmap(); |
| 21 virtual std::string GetDefaultEncoding(); |
19 }; | 22 }; |
20 | 23 |
21 } // namespace content | 24 } // namespace content |
22 | 25 |
23 #endif // CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 26 #endif // CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |