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

Unified Diff: content/renderer/content_renderer_client.h

Issue 7274031: Wholesale move of debugger sources to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS and DEPS. Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/content_renderer_client.h
diff --git a/content/renderer/content_renderer_client.h b/content/renderer/content_renderer_client.h
index 3f012c1c8b87acb3d4d63a38311649776d778f2e..953fdf58386f5790c3b09c53af86654a6e3ba53a 100644
--- a/content/renderer/content_renderer_client.h
+++ b/content/renderer/content_renderer_client.h
@@ -33,73 +33,73 @@ class ContentRendererClient {
virtual ~ContentRendererClient() {}
// Notifies us that the RenderThread has been created.
- virtual void RenderThreadStarted();
+ virtual void RenderThreadStarted() = 0;
// Notifies that a new RenderView has been created.
- virtual void RenderViewCreated(RenderView* render_view);
+ virtual void RenderViewCreated(RenderView* render_view) = 0;
// Sets a number of views/tabs opened in this process.
- virtual void SetNumberOfViews(int number_of_views);
+ virtual void SetNumberOfViews(int number_of_views) = 0;
// Returns the bitmap to show when a plugin crashed, or NULL for none.
- virtual SkBitmap* GetSadPluginBitmap();
+ virtual SkBitmap* GetSadPluginBitmap() = 0;
// Returns the default text encoding.
- virtual std::string GetDefaultEncoding();
+ virtual std::string GetDefaultEncoding() = 0;
// Create a plugin in the given frame. Can return NULL, in which case
// RenderView will create a plugin itself.
virtual WebKit::WebPlugin* CreatePlugin(
RenderView* render_view,
WebKit::WebFrame* frame,
- const WebKit::WebPluginParams& params);
+ const WebKit::WebPluginParams& params) = 0;
// Give the embedder the ability to set an error page.
virtual void ShowErrorPage(RenderView* render_view,
WebKit::WebFrame* frame,
- int http_status_code);
+ int http_status_code) = 0;
// Returns the html to display when a navigation error occurs.
virtual std::string GetNavigationErrorHtml(
const WebKit::WebURLRequest& failed_request,
- const WebKit::WebURLError& error);
+ const WebKit::WebURLError& error) = 0;
// Returns true if the renderer process should schedule the idle handler when
// all widgets are hidden.
- virtual bool RunIdleHandlerWhenWidgetsHidden();
+ virtual bool RunIdleHandlerWhenWidgetsHidden() = 0;
// Returns true if the given url can create popup windows.
- virtual bool AllowPopup(const GURL& creator);
+ virtual bool AllowPopup(const GURL& creator) = 0;
// Returns true if we should fork a new process for the given navigation.
virtual bool ShouldFork(WebKit::WebFrame* frame,
const GURL& url,
bool is_content_initiated,
- bool* send_referrer);
+ bool* send_referrer) = 0;
// Notifies the embedder that the given frame is requesting the resource at
// |url|. If the function returns true, the url is changed to |new_url|.
virtual bool WillSendRequest(WebKit::WebFrame* frame,
const GURL& url,
- GURL* new_url);
+ GURL* new_url) = 0;
// Whether to pump events when sending sync cookie messages. Needed if the
// embedder can potentiall put up a modal dialog on the UI thread as a result.
- virtual bool ShouldPumpEventsDuringCookieMessage();
+ virtual bool ShouldPumpEventsDuringCookieMessage() = 0;
// See the corresponding functions in WebKit::WebFrameClient.
- virtual void DidCreateScriptContext(WebKit::WebFrame* frame);
- virtual void DidDestroyScriptContext(WebKit::WebFrame* frame);
- virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame);
+ virtual void DidCreateScriptContext(WebKit::WebFrame* frame) = 0;
+ virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) = 0;
+ virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame) = 0;
// See WebKit::WebKitClient.
virtual unsigned long long VisitedLinkHash(const char* canonical_url,
- size_t length);
- virtual bool IsLinkVisited(unsigned long long link_hash);
- virtual void PrefetchHostName(const char* hostname, size_t length);
+ size_t length) = 0;
+ virtual bool IsLinkVisited(unsigned long long link_hash) = 0;
+ virtual void PrefetchHostName(const char* hostname, size_t length) = 0;
virtual bool ShouldOverridePageVisibilityState(
const RenderView* render_view,
- WebKit::WebPageVisibilityState* override_state) const;
+ WebKit::WebPageVisibilityState* override_state) const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698