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

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

Issue 11820009: Distinguish plugin disconnections from plugin crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.cc ('k') | content/shell/webkit_test_controller.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 CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ 6 #define CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 #include <string> 9 #include <string>
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 bool should_stay_on_page_after_handling_before_unload() const { 93 bool should_stay_on_page_after_handling_before_unload() const {
94 return should_stay_on_page_after_handling_before_unload_; 94 return should_stay_on_page_after_handling_before_unload_;
95 } 95 }
96 96
97 // This method can be invoked on any thread. 97 // This method can be invoked on any thread.
98 bool CanOpenWindows() const; 98 bool CanOpenWindows() const;
99 99
100 // WebContentsObserver implementation. 100 // WebContentsObserver implementation.
101 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 101 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
102 virtual void PluginCrashed(const FilePath& plugin_path) OVERRIDE; 102 virtual void PluginCrashed(const FilePath& plugin_path,
103 base::ProcessId plugin_pid) OVERRIDE;
103 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 104 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
104 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 105 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
105 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; 106 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
106 107
107 // NotificationObserver implementation. 108 // NotificationObserver implementation.
108 virtual void Observe(int type, 109 virtual void Observe(int type,
109 const NotificationSource& source, 110 const NotificationSource& source,
110 const NotificationDetails& details) OVERRIDE; 111 const NotificationDetails& details) OVERRIDE;
111 112
112 private: 113 private:
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool can_open_windows_; 169 bool can_open_windows_;
169 170
170 NotificationRegistrar registrar_; 171 NotificationRegistrar registrar_;
171 172
172 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); 173 DISALLOW_COPY_AND_ASSIGN(WebKitTestController);
173 }; 174 };
174 175
175 } // namespace content 176 } // namespace content
176 177
177 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ 178 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.cc ('k') | content/shell/webkit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698