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

Side by Side Diff: content/shell/renderer/webkit_test_runner.h

Issue 275453002: Update WebFrameClient::didClearWindowObject API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_WEBKIT_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 25 matching lines...) Expand all
36 // This is the renderer side of the webkit test runner. 36 // This is the renderer side of the webkit test runner.
37 class WebKitTestRunner : public RenderViewObserver, 37 class WebKitTestRunner : public RenderViewObserver,
38 public RenderViewObserverTracker<WebKitTestRunner>, 38 public RenderViewObserverTracker<WebKitTestRunner>,
39 public WebTestDelegate { 39 public WebTestDelegate {
40 public: 40 public:
41 explicit WebKitTestRunner(RenderView* render_view); 41 explicit WebKitTestRunner(RenderView* render_view);
42 virtual ~WebKitTestRunner(); 42 virtual ~WebKitTestRunner();
43 43
44 // RenderViewObserver implementation. 44 // RenderViewObserver implementation.
45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
46 virtual void DidClearWindowObject(blink::WebLocalFrame* frame, 46 virtual void DidClearWindowObject(blink::WebLocalFrame* frame) OVERRIDE;
47 int world_id) OVERRIDE;
48 virtual void Navigate(const GURL& url) OVERRIDE; 47 virtual void Navigate(const GURL& url) OVERRIDE;
49 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, 48 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame,
50 bool is_new_navigation) OVERRIDE; 49 bool is_new_navigation) OVERRIDE;
51 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame, 50 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame,
52 const blink::WebURLError& error) OVERRIDE; 51 const blink::WebURLError& error) OVERRIDE;
53 52
54 // WebTestDelegate implementation. 53 // WebTestDelegate implementation.
55 virtual void clearEditCommand() OVERRIDE; 54 virtual void clearEditCommand() OVERRIDE;
56 virtual void setEditCommand(const std::string& name, 55 virtual void setEditCommand(const std::string& name,
57 const std::string& value) OVERRIDE; 56 const std::string& value) OVERRIDE;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 150
152 scoped_ptr<LeakDetector> leak_detector_; 151 scoped_ptr<LeakDetector> leak_detector_;
153 bool needs_leak_detector_; 152 bool needs_leak_detector_;
154 153
155 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); 154 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
156 }; 155 };
157 156
158 } // namespace content 157 } // namespace content
159 158
160 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 159 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/shell_render_view_observer.cc ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698