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 CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 void AddAdditionalSchemes(std::vector<std::string>* standard_schemes, | 27 void AddAdditionalSchemes(std::vector<std::string>* standard_schemes, |
28 std::vector<std::string>* saveable_shemes) override; | 28 std::vector<std::string>* saveable_shemes) override; |
29 std::string GetProduct() const override; | 29 std::string GetProduct() const override; |
30 std::string GetUserAgent() const override; | 30 std::string GetUserAgent() const override; |
31 base::string16 GetLocalizedString(int message_id) const override; | 31 base::string16 GetLocalizedString(int message_id) const override; |
32 base::StringPiece GetDataResource( | 32 base::StringPiece GetDataResource( |
33 int resource_id, | 33 int resource_id, |
34 ui::ScaleFactor scale_factor) const override; | 34 ui::ScaleFactor scale_factor) const override; |
35 base::RefCountedStaticMemory* GetDataResourceBytes( | 35 base::RefCountedStaticMemory* GetDataResourceBytes( |
36 int resource_id) const override; | 36 int resource_id) const override; |
| 37 content::WebUITextStyles GetWebUITextStyles() const override; |
37 gfx::Image& GetNativeImageNamed(int resource_id) const override; | 38 gfx::Image& GetNativeImageNamed(int resource_id) const override; |
38 std::string GetProcessTypeNameInEnglish(int type) override; | 39 std::string GetProcessTypeNameInEnglish(int type) override; |
39 | 40 |
40 #if defined(OS_MACOSX) && !defined(OS_IOS) | 41 #if defined(OS_MACOSX) && !defined(OS_IOS) |
41 bool GetSandboxProfileForSandboxType( | 42 bool GetSandboxProfileForSandboxType( |
42 int sandbox_type, | 43 int sandbox_type, |
43 int* sandbox_profile_resource_id) const override; | 44 int* sandbox_profile_resource_id) const override; |
44 #endif | 45 #endif |
45 }; | 46 }; |
46 | 47 |
47 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 48 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
OLD | NEW |