Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: chrome/common/chrome_content_client.h

Issue 248703002: Remove ContentClient::CanHandleWhileSwappedOut(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 static const char* const kNaClOldPluginName; 22 static const char* const kNaClOldPluginName;
23 static const char* const kRemotingViewerPluginPath; 23 static const char* const kRemotingViewerPluginPath;
24 24
25 virtual void SetActiveURL(const GURL& url) OVERRIDE; 25 virtual void SetActiveURL(const GURL& url) OVERRIDE;
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 AddAdditionalSchemes( 29 virtual void AddAdditionalSchemes(
30 std::vector<std::string>* standard_schemes, 30 std::vector<std::string>* standard_schemes,
31 std::vector<std::string>* saveable_shemes) OVERRIDE; 31 std::vector<std::string>* saveable_shemes) OVERRIDE;
32 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 base::string16 GetLocalizedString(int message_id) const OVERRIDE; 34 virtual base::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 virtual std::string GetProcessTypeNameInEnglish(int type) OVERRIDE; 41 virtual std::string GetProcessTypeNameInEnglish(int type) OVERRIDE;
43 42
44 #if defined(OS_MACOSX) && !defined(OS_IOS) 43 #if defined(OS_MACOSX) && !defined(OS_IOS)
45 virtual bool GetSandboxProfileForSandboxType( 44 virtual bool GetSandboxProfileForSandboxType(
46 int sandbox_type, 45 int sandbox_type,
47 int* sandbox_profile_resource_id) const OVERRIDE; 46 int* sandbox_profile_resource_id) const OVERRIDE;
48 virtual std::string GetCarbonInterposePath() const OVERRIDE; 47 virtual std::string GetCarbonInterposePath() const OVERRIDE;
49 #endif 48 #endif
50 }; 49 };
51 50
52 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 51 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698