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

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

Issue 10908130: Revert 155122 - 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
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | content/browser/plugin_process_host.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_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 OnContentDebugRecordMsg(int bug_id, const std::string& msg);
153 void OnContentDebugGetMessages(int bug_id, bool* handled,
154 std::vector<std::string>* msgs);
155
156 virtual bool CanShutdown() OVERRIDE; 151 virtual bool CanShutdown() OVERRIDE;
157 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 152 virtual void OnProcessCrashed(int exit_code) OVERRIDE;
158 153
159 void CancelRequests(); 154 void CancelRequests();
160 155
161 // These are channel requests that we are waiting to send to the 156 // These are channel requests that we are waiting to send to the
162 // plugin process once the channel is opened. 157 // plugin process once the channel is opened.
163 std::vector<Client*> pending_requests_; 158 std::vector<Client*> pending_requests_;
164 159
165 // These are the channel requests that we have already sent to 160 // These are the channel requests that we have already sent to
(...skipping 25 matching lines...) Expand all
191 186
192 class PluginProcessHostIterator 187 class PluginProcessHostIterator
193 : public content::BrowserChildProcessHostTypeIterator<PluginProcessHost> { 188 : public content::BrowserChildProcessHostTypeIterator<PluginProcessHost> {
194 public: 189 public:
195 PluginProcessHostIterator() 190 PluginProcessHostIterator()
196 : content::BrowserChildProcessHostTypeIterator<PluginProcessHost>( 191 : content::BrowserChildProcessHostTypeIterator<PluginProcessHost>(
197 content::PROCESS_TYPE_PLUGIN) {} 192 content::PROCESS_TYPE_PLUGIN) {}
198 }; 193 };
199 194
200 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 195 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698