| 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 15 matching lines...) Expand all Loading... |
| 26 virtual void SetGpuInfo(const gpu::GPUInfo& gpu_info) OVERRIDE; | 26 virtual void SetGpuInfo(const gpu::GPUInfo& gpu_info) OVERRIDE; |
| 27 virtual void AddPepperPlugins( | 27 virtual void AddPepperPlugins( |
| 28 std::vector<content::PepperPluginInfo>* plugins) OVERRIDE; | 28 std::vector<content::PepperPluginInfo>* plugins) OVERRIDE; |
| 29 virtual void AddNPAPIPlugins( | 29 virtual void AddNPAPIPlugins( |
| 30 webkit::npapi::PluginList* plugin_list) OVERRIDE; | 30 webkit::npapi::PluginList* plugin_list) OVERRIDE; |
| 31 virtual void AddAdditionalSchemes( | 31 virtual void AddAdditionalSchemes( |
| 32 std::vector<std::string>* standard_schemes, | 32 std::vector<std::string>* standard_schemes, |
| 33 std::vector<std::string>* saveable_shemes) OVERRIDE; | 33 std::vector<std::string>* saveable_shemes) OVERRIDE; |
| 34 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; | 34 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; |
| 35 virtual std::string GetProduct() const OVERRIDE; | 35 virtual std::string GetProduct() const OVERRIDE; |
| 36 virtual std::string GetProductSCMRevision() const OVERRIDE; |
| 36 virtual std::string GetUserAgent() const OVERRIDE; | 37 virtual std::string GetUserAgent() const OVERRIDE; |
| 37 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; | 38 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; |
| 38 virtual base::StringPiece GetDataResource( | 39 virtual base::StringPiece GetDataResource( |
| 39 int resource_id, | 40 int resource_id, |
| 40 ui::ScaleFactor scale_factor) const OVERRIDE; | 41 ui::ScaleFactor scale_factor) const OVERRIDE; |
| 41 virtual base::RefCountedStaticMemory* GetDataResourceBytes( | 42 virtual base::RefCountedStaticMemory* GetDataResourceBytes( |
| 42 int resource_id) const OVERRIDE; | 43 int resource_id) const OVERRIDE; |
| 43 virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; | 44 virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; |
| 44 virtual std::string GetProcessTypeNameInEnglish(int type) OVERRIDE; | 45 virtual std::string GetProcessTypeNameInEnglish(int type) OVERRIDE; |
| 45 | 46 |
| 46 #if defined(OS_MACOSX) && !defined(OS_IOS) | 47 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 47 virtual bool GetSandboxProfileForSandboxType( | 48 virtual bool GetSandboxProfileForSandboxType( |
| 48 int sandbox_type, | 49 int sandbox_type, |
| 49 int* sandbox_profile_resource_id) const OVERRIDE; | 50 int* sandbox_profile_resource_id) const OVERRIDE; |
| 50 virtual std::string GetCarbonInterposePath() const OVERRIDE; | 51 virtual std::string GetCarbonInterposePath() const OVERRIDE; |
| 51 #endif | 52 #endif |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace chrome | 55 } // namespace chrome |
| 55 | 56 |
| 56 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 57 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| OLD | NEW |