| Index: content/common/content_client.h
|
| diff --git a/content/common/content_client.h b/content/common/content_client.h
|
| index 7ca34b4147b9b0d566723e8069380429793f0a9a..d3abd435de129242b6e087175d94f9cbe801345d 100644
|
| --- a/content/common/content_client.h
|
| +++ b/content/common/content_client.h
|
| @@ -59,37 +59,37 @@ class ContentClient {
|
| void set_utility(ContentUtilityClient* u) { utility_ = u; }
|
|
|
| // Sets the currently active URL. Use GURL() to clear the URL.
|
| - virtual void SetActiveURL(const GURL& url) {}
|
| + virtual void SetActiveURL(const GURL& url) = 0;
|
|
|
| // Sets the data on the current gpu.
|
| - virtual void SetGpuInfo(const GPUInfo& gpu_info) {}
|
| + virtual void SetGpuInfo(const GPUInfo& gpu_info) = 0;
|
|
|
| // Gives the embedder a chance to register its own pepper plugins.
|
| - virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins) {}
|
| + virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins) = 0;
|
|
|
| // Returns whether the given message should be allowed to be sent from a
|
| // swapped out renderer.
|
| - virtual bool CanSendWhileSwappedOut(const IPC::Message* msg);
|
| + virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) = 0;
|
|
|
| // Returns whether the given message should be processed in the browser on
|
| // behalf of a swapped out renderer.
|
| - virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg);
|
| + virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) = 0;
|
|
|
| // Returns the user agent. If mimic_windows is true then the embedder can
|
| // return a fake Windows user agent. This is a workaround for broken
|
| // websites.
|
| - virtual std::string GetUserAgent(bool mimic_windows) const;
|
| + virtual std::string GetUserAgent(bool mimic_windows) const = 0;
|
|
|
| // Returns a string resource given its id.
|
| - virtual string16 GetLocalizedString(int message_id) const;
|
| + virtual string16 GetLocalizedString(int message_id) const = 0;
|
|
|
| // Return the contents of a resource in a StringPiece given the resource id.
|
| - virtual base::StringPiece GetDataResource(int resource_id) const;
|
| + virtual base::StringPiece GetDataResource(int resource_id) const = 0;
|
|
|
| #if defined(OS_WIN)
|
| // Allows the embedder to sandbox a plugin, and apply a custom policy.
|
| virtual bool SandboxPlugin(CommandLine* command_line,
|
| - sandbox::TargetPolicy* policy);
|
| + sandbox::TargetPolicy* policy) = 0;
|
| #endif
|
|
|
| private:
|
|
|