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

Side by Side Diff: content/browser/plugin_process_host.h

Issue 10908078: Code to collect issue 97285 debugging info for crash reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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_BROWSER_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <list> 10 #include <list>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 #if defined(OS_MACOSX) 142 #if defined(OS_MACOSX)
143 void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect, 143 void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect,
144 bool modal); 144 bool modal);
145 void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect, 145 void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect,
146 bool modal); 146 bool modal);
147 void OnPluginHideWindow(uint32 window_id, gfx::Rect window_rect); 147 void OnPluginHideWindow(uint32 window_id, gfx::Rect window_rect);
148 void OnPluginSetCursorVisibility(bool visible); 148 void OnPluginSetCursorVisibility(bool visible);
149 #endif 149 #endif
150 150
151 // Forward client messages to content::debug::RecordMsg/GetMessages.
152 void OnRecordMsg(int bug_id, const std::string& msg);
153 void OnGetMessages(int bug_id, std::vector<std::string>* msgs);
154
151 virtual bool CanShutdown() OVERRIDE; 155 virtual bool CanShutdown() OVERRIDE;
152 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 156 virtual void OnProcessCrashed(int exit_code) OVERRIDE;
153 157
154 void CancelRequests(); 158 void CancelRequests();
155 159
156 // These are channel requests that we are waiting to send to the 160 // These are channel requests that we are waiting to send to the
157 // plugin process once the channel is opened. 161 // plugin process once the channel is opened.
158 std::vector<Client*> pending_requests_; 162 std::vector<Client*> pending_requests_;
159 163
160 // These are the channel requests that we have already sent to 164 // These are the channel requests that we have already sent to
(...skipping 25 matching lines...) Expand all
186 190
187 class PluginProcessHostIterator 191 class PluginProcessHostIterator
188 : public content::BrowserChildProcessHostTypeIterator<PluginProcessHost> { 192 : public content::BrowserChildProcessHostTypeIterator<PluginProcessHost> {
189 public: 193 public:
190 PluginProcessHostIterator() 194 PluginProcessHostIterator()
191 : content::BrowserChildProcessHostTypeIterator<PluginProcessHost>( 195 : content::BrowserChildProcessHostTypeIterator<PluginProcessHost>(
192 content::PROCESS_TYPE_PLUGIN) {} 196 content::PROCESS_TYPE_PLUGIN) {}
193 }; 197 };
194 198
195 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 199 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698