| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 void SetActiveURL(const GURL& url) override; | 63 void SetActiveURL(const GURL& url) override; |
| 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; | |
| 73 std::string GetProduct() const override; | 72 std::string GetProduct() const override; |
| 74 std::string GetUserAgent() const override; | 73 std::string GetUserAgent() const override; |
| 75 base::string16 GetLocalizedString(int message_id) const override; | 74 base::string16 GetLocalizedString(int message_id) const override; |
| 76 base::StringPiece GetDataResource( | 75 base::StringPiece GetDataResource( |
| 77 int resource_id, | 76 int resource_id, |
| 78 ui::ScaleFactor scale_factor) const override; | 77 ui::ScaleFactor scale_factor) const override; |
| 79 base::RefCountedMemory* GetDataResourceBytes( | 78 base::RefCountedMemory* GetDataResourceBytes( |
| 80 int resource_id) const override; | 79 int resource_id) const override; |
| 81 gfx::Image& GetNativeImageNamed(int resource_id) const override; | 80 gfx::Image& GetNativeImageNamed(int resource_id) const override; |
| 82 std::string GetProcessTypeNameInEnglish(int type) override; | 81 std::string GetProcessTypeNameInEnglish(int type) override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 99 | 98 |
| 100 #if defined(OS_ANDROID) | 99 #if defined(OS_ANDROID) |
| 101 media::MediaClientAndroid* GetMediaClientAndroid() override; | 100 media::MediaClientAndroid* GetMediaClientAndroid() override; |
| 102 #endif // OS_ANDROID | 101 #endif // OS_ANDROID |
| 103 | 102 |
| 104 private: | 103 private: |
| 105 std::unique_ptr<ChromeOriginTrialPolicy> origin_trial_policy_; | 104 std::unique_ptr<ChromeOriginTrialPolicy> origin_trial_policy_; |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 107 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| OLD | NEW |