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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override; | 64 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override; |
65 void AddPepperPlugins( | 65 void AddPepperPlugins( |
66 std::vector<content::PepperPluginInfo>* plugins) override; | 66 std::vector<content::PepperPluginInfo>* plugins) override; |
67 void AddContentDecryptionModules( | 67 void AddContentDecryptionModules( |
68 std::vector<content::CdmInfo>* cdms) override; | 68 std::vector<content::CdmInfo>* cdms) override; |
69 void AddAdditionalSchemes(std::vector<url::SchemeWithType>* standard_schemes, | 69 void AddAdditionalSchemes(std::vector<url::SchemeWithType>* standard_schemes, |
70 std::vector<url::SchemeWithType>* referrer_schemes, | 70 std::vector<url::SchemeWithType>* referrer_schemes, |
71 std::vector<std::string>* saveable_shemes) override; | 71 std::vector<std::string>* saveable_shemes) override; |
72 bool CanSendWhileSwappedOut(const IPC::Message* message) override; | 72 bool CanSendWhileSwappedOut(const IPC::Message* message) override; |
73 std::string GetProduct() const override; | 73 std::string GetProduct() const override; |
| 74 std::string GetV8Version() const override; |
74 std::string GetUserAgent() const override; | 75 std::string GetUserAgent() const override; |
75 base::string16 GetLocalizedString(int message_id) const override; | 76 base::string16 GetLocalizedString(int message_id) const override; |
76 base::StringPiece GetDataResource( | 77 base::StringPiece GetDataResource( |
77 int resource_id, | 78 int resource_id, |
78 ui::ScaleFactor scale_factor) const override; | 79 ui::ScaleFactor scale_factor) const override; |
79 base::RefCountedMemory* GetDataResourceBytes( | 80 base::RefCountedMemory* GetDataResourceBytes( |
80 int resource_id) const override; | 81 int resource_id) const override; |
81 gfx::Image& GetNativeImageNamed(int resource_id) const override; | 82 gfx::Image& GetNativeImageNamed(int resource_id) const override; |
82 std::string GetProcessTypeNameInEnglish(int type) override; | 83 std::string GetProcessTypeNameInEnglish(int type) override; |
83 | 84 |
(...skipping 15 matching lines...) Expand all Loading... |
99 | 100 |
100 #if defined(OS_ANDROID) | 101 #if defined(OS_ANDROID) |
101 media::MediaClientAndroid* GetMediaClientAndroid() override; | 102 media::MediaClientAndroid* GetMediaClientAndroid() override; |
102 #endif // OS_ANDROID | 103 #endif // OS_ANDROID |
103 | 104 |
104 private: | 105 private: |
105 std::unique_ptr<ChromeOriginTrialPolicy> origin_trial_policy_; | 106 std::unique_ptr<ChromeOriginTrialPolicy> origin_trial_policy_; |
106 }; | 107 }; |
107 | 108 |
108 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 109 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
OLD | NEW |