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

Side by Side Diff: content/shell/shell_content_renderer_client.h

Issue 12090066: [content shell] ShellRenderProcessObserver no longer depends on WebTestInterfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable tests which depend on eventsender Created 7 years, 10 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 | Annotate | Revision Log
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 CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/renderer/content_renderer_client.h" 10 #include "content/public/renderer/content_renderer_client.h"
(...skipping 11 matching lines...) Expand all
22 namespace content { 22 namespace content {
23 23
24 class RenderView; 24 class RenderView;
25 class ShellRenderProcessObserver; 25 class ShellRenderProcessObserver;
26 26
27 class ShellContentRendererClient : public ContentRendererClient { 27 class ShellContentRendererClient : public ContentRendererClient {
28 public: 28 public:
29 ShellContentRendererClient(); 29 ShellContentRendererClient();
30 virtual ~ShellContentRendererClient(); 30 virtual ~ShellContentRendererClient();
31 virtual void RenderThreadStarted() OVERRIDE; 31 virtual void RenderThreadStarted() OVERRIDE;
32 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE;
32 virtual bool OverrideCreatePlugin( 33 virtual bool OverrideCreatePlugin(
33 RenderView* render_view, 34 RenderView* render_view,
34 WebKit::WebFrame* frame, 35 WebKit::WebFrame* frame,
35 const WebKit::WebPluginParams& params, 36 const WebKit::WebPluginParams& params,
36 WebKit::WebPlugin** plugin) OVERRIDE; 37 WebKit::WebPlugin** plugin) OVERRIDE;
37 virtual bool WillSendRequest(WebKit::WebFrame* frame, 38 virtual bool WillSendRequest(WebKit::WebFrame* frame,
38 PageTransition transition_type, 39 PageTransition transition_type,
39 const GURL& url, 40 const GURL& url,
40 const GURL& first_party_for_cookies, 41 const GURL& first_party_for_cookies,
41 GURL* new_url) OVERRIDE; 42 GURL* new_url) OVERRIDE;
42 43
43 private: 44 private:
44 void WebTestProxyCreated(RenderView* render_view,
45 WebTestRunner::WebTestProxyBase* proxy);
46 GURL RewriteLayoutTestsURL(const GURL& url);
47
48 scoped_ptr<ShellRenderProcessObserver> shell_observer_; 45 scoped_ptr<ShellRenderProcessObserver> shell_observer_;
49 }; 46 };
50 47
51 } // namespace content 48 } // namespace content
52 49
53 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 50 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/fileapi/file_system_browsertest.cc ('k') | content/shell/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698