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 20 matching lines...) Expand all Loading... |
31 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; | 31 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; |
32 virtual std::string GetProduct() const OVERRIDE; | 32 virtual std::string GetProduct() const OVERRIDE; |
33 virtual std::string GetUserAgent() const OVERRIDE; | 33 virtual std::string GetUserAgent() const OVERRIDE; |
34 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; | 34 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; |
35 virtual base::StringPiece GetDataResource( | 35 virtual base::StringPiece GetDataResource( |
36 int resource_id, | 36 int resource_id, |
37 ui::ScaleFactor scale_factor) const OVERRIDE; | 37 ui::ScaleFactor scale_factor) const OVERRIDE; |
38 virtual base::RefCountedStaticMemory* GetDataResourceBytes( | 38 virtual base::RefCountedStaticMemory* GetDataResourceBytes( |
39 int resource_id) const OVERRIDE; | 39 int resource_id) const OVERRIDE; |
40 virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; | 40 virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; |
| 41 virtual std::string GetProcessTypeNameInEnglish(int type) OVERRIDE; |
41 | 42 |
42 #if defined(OS_MACOSX) && !defined(OS_IOS) | 43 #if defined(OS_MACOSX) && !defined(OS_IOS) |
43 virtual bool GetSandboxProfileForSandboxType( | 44 virtual bool GetSandboxProfileForSandboxType( |
44 int sandbox_type, | 45 int sandbox_type, |
45 int* sandbox_profile_resource_id) const OVERRIDE; | 46 int* sandbox_profile_resource_id) const OVERRIDE; |
46 virtual std::string GetCarbonInterposePath() const OVERRIDE; | 47 virtual std::string GetCarbonInterposePath() const OVERRIDE; |
47 #endif | 48 #endif |
48 }; | 49 }; |
49 | 50 |
50 } // namespace chrome | 51 } // namespace chrome |
51 | 52 |
52 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 53 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
OLD | NEW |