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