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

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: Rebase against r155094. 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
151 virtual bool CanShutdown() OVERRIDE; 156 virtual bool CanShutdown() OVERRIDE;
152 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 157 virtual void OnProcessCrashed(int exit_code) OVERRIDE;
153 158
154 void CancelRequests(); 159 void CancelRequests();
155 160
156 // These are channel requests that we are waiting to send to the 161 // These are channel requests that we are waiting to send to the
157 // plugin process once the channel is opened. 162 // plugin process once the channel is opened.
158 std::vector<Client*> pending_requests_; 163 std::vector<Client*> pending_requests_;
159 164
160 // These are the channel requests that we have already sent to 165 // These are the channel requests that we have already sent to
(...skipping 25 matching lines...) Expand all
186 191
187 class PluginProcessHostIterator 192 class PluginProcessHostIterator
188 : public content::BrowserChildProcessHostTypeIterator<PluginProcessHost> { 193 : public content::BrowserChildProcessHostTypeIterator<PluginProcessHost> {
189 public: 194 public:
190 PluginProcessHostIterator() 195 PluginProcessHostIterator()
191 : content::BrowserChildProcessHostTypeIterator<PluginProcessHost>( 196 : content::BrowserChildProcessHostTypeIterator<PluginProcessHost>(
192 content::PROCESS_TYPE_PLUGIN) {} 197 content::PROCESS_TYPE_PLUGIN) {}
193 }; 198 };
194 199
195 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 200 #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