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