OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |