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

Side by Side Diff: content/renderer/render_view_impl.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
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/id_map.h" 12 #include "base/id_map.h"
13 #include "base/memory/linked_ptr.h" 13 #include "base/memory/linked_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/process.h"
16 #include "base/timer.h" 17 #include "base/timer.h"
17 #include "base/values.h" 18 #include "base/values.h"
18 #include "build/build_config.h" 19 #include "build/build_config.h"
19 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
20 #include "content/common/drag_event_source_info.h" 21 #include "content/common/drag_event_source_info.h"
21 #include "content/common/edit_command.h" 22 #include "content/common/edit_command.h"
22 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 23 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
23 #include "content/common/navigation_gesture.h" 24 #include "content/common/navigation_gesture.h"
24 #include "content/common/view_message_enums.h" 25 #include "content/common/view_message_enums.h"
25 #include "content/public/common/javascript_message_type.h" 26 #include "content/public/common/javascript_message_type.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 WebKit::WebFrame* frame, 292 WebKit::WebFrame* frame,
292 const WebKit::WebURLRequest& failed_request, 293 const WebKit::WebURLRequest& failed_request,
293 const WebKit::WebURLError& error, 294 const WebKit::WebURLError& error,
294 const std::string& html, 295 const std::string& html,
295 bool replace); 296 bool replace);
296 297
297 // Plugin-related functions -------------------------------------------------- 298 // Plugin-related functions --------------------------------------------------
298 // (See also WebPluginPageDelegate implementation.) 299 // (See also WebPluginPageDelegate implementation.)
299 300
300 // Notification that the given plugin has crashed. 301 // Notification that the given plugin has crashed.
301 void PluginCrashed(const FilePath& plugin_path); 302 void PluginCrashed(const FilePath& plugin_path, base::ProcessId plugin_pid);
302 303
303 // Creates a fullscreen container for a pepper plugin instance. 304 // Creates a fullscreen container for a pepper plugin instance.
304 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer( 305 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer(
305 webkit::ppapi::PluginInstance* plugin); 306 webkit::ppapi::PluginInstance* plugin);
306 307
307 // Informs the render view that a PPAPI plugin has gained or lost focus. 308 // Informs the render view that a PPAPI plugin has gained or lost focus.
308 void PpapiPluginFocusChanged(); 309 void PpapiPluginFocusChanged();
309 310
310 // Informs the render view that a PPAPI plugin has changed text input status. 311 // Informs the render view that a PPAPI plugin has changed text input status.
311 void PpapiPluginTextInputTypeChanged(); 312 void PpapiPluginTextInputTypeChanged();
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 // use the Observer interface to filter IPC messages and receive frame change 1591 // use the Observer interface to filter IPC messages and receive frame change
1591 // notifications. 1592 // notifications.
1592 // --------------------------------------------------------------------------- 1593 // ---------------------------------------------------------------------------
1593 1594
1594 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1595 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1595 }; 1596 };
1596 1597
1597 } // namespace content 1598 } // namespace content
1598 1599
1599 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1600 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698