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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 11414180: Add a gyp flag to allow removing dependency on ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Jay's comments and rebase Created 8 years 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"
(...skipping 10 matching lines...) Expand all
21 #include "content/common/edit_command.h" 21 #include "content/common/edit_command.h"
22 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 22 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
23 #include "content/common/navigation_gesture.h" 23 #include "content/common/navigation_gesture.h"
24 #include "content/common/view_message_enums.h" 24 #include "content/common/view_message_enums.h"
25 #include "content/public/common/javascript_message_type.h" 25 #include "content/public/common/javascript_message_type.h"
26 #include "content/public/common/page_zoom.h" 26 #include "content/public/common/page_zoom.h"
27 #include "content/public/common/referrer.h" 27 #include "content/public/common/referrer.h"
28 #include "content/public/common/renderer_preferences.h" 28 #include "content/public/common/renderer_preferences.h"
29 #include "content/public/common/stop_find_action.h" 29 #include "content/public/common/stop_find_action.h"
30 #include "content/public/renderer/render_view.h" 30 #include "content/public/renderer/render_view.h"
31 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" 31 #include "content/renderer/mouse_lock_dispatcher.h"
32 #include "content/renderer/plugin_delegate_helper.h"
32 #include "content/renderer/render_widget.h" 33 #include "content/renderer/render_widget.h"
33 #include "content/renderer/renderer_webcookiejar_impl.h" 34 #include "content/renderer/renderer_webcookiejar_impl.h"
34 #include "ipc/ipc_platform_file.h" 35 #include "ipc/ipc_platform_file.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h"
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h"
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 struct WebDropData; 74 struct WebDropData;
74 75
75 namespace ui { 76 namespace ui {
76 struct SelectedFileInfo; 77 struct SelectedFileInfo;
77 } // namespace ui 78 } // namespace ui
78 79
79 namespace webkit { 80 namespace webkit {
80 81
81 namespace ppapi { 82 namespace ppapi {
82 class PluginInstance; 83 class PluginInstance;
83 class WebPluginImpl;
84 } // namespace ppapi 84 } // namespace ppapi
85 85
86 } // namespace webkit 86 } // namespace webkit
87 87
88 namespace webkit_glue { 88 namespace webkit_glue {
89 class ImageResourceFetcher; 89 class ImageResourceFetcher;
90 class ResourceFetcher; 90 class ResourceFetcher;
91 } 91 }
92 92
93 #if defined(OS_ANDROID) 93 #if defined(OS_ANDROID)
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1523 // If this render view is a swapped out "mirror" of an active render view in a 1523 // If this render view is a swapped out "mirror" of an active render view in a
1524 // different process, we record the process id and route id for the active RV. 1524 // different process, we record the process id and route id for the active RV.
1525 // For further details, see the comments on ViewHostMsg_FrameTreeUpdated. 1525 // For further details, see the comments on ViewHostMsg_FrameTreeUpdated.
1526 int target_process_id_; 1526 int target_process_id_;
1527 int target_routing_id_; 1527 int target_routing_id_;
1528 1528
1529 // A map of the current process's frame ids to ids in the remote active render 1529 // A map of the current process's frame ids to ids in the remote active render
1530 // view, if this is a swapped out render view. 1530 // view, if this is a swapped out render view.
1531 std::map<int, int> active_frame_id_map_; 1531 std::map<int, int> active_frame_id_map_;
1532 1532
1533 // NOTE: pepper_delegate_ should be last member because its constructor calls
1534 // AddObservers method of RenderViewImpl from c-tor.
1535 PepperPluginDelegateImpl pepper_delegate_;
1536
1537 // This field stores drag/drop related info for the event that is currently 1533 // This field stores drag/drop related info for the event that is currently
1538 // being handled. If the current event results in starting a drag/drop 1534 // being handled. If the current event results in starting a drag/drop
1539 // session, this info is sent to the browser along with other drag/drop info. 1535 // session, this info is sent to the browser along with other drag/drop info.
1540 DragEventSourceInfo possible_drag_event_info_; 1536 DragEventSourceInfo possible_drag_event_info_;
1541 1537
1538 // NOTE: pepper_delegate_ should be last member because its constructor calls
1539 // AddObservers method of RenderViewImpl from c-tor.
1540 scoped_ptr<PluginDelegateHelper> pepper_delegate_;
1541
1542 // --------------------------------------------------------------------------- 1542 // ---------------------------------------------------------------------------
1543 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1543 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1544 // sections rather than throwing it randomly at the end. If you're adding a 1544 // sections rather than throwing it randomly at the end. If you're adding a
1545 // bunch of stuff, you should probably create a helper class and put your 1545 // bunch of stuff, you should probably create a helper class and put your
1546 // data and methods on that to avoid bloating RenderView more. You can 1546 // data and methods on that to avoid bloating RenderView more. You can
1547 // use the Observer interface to filter IPC messages and receive frame change 1547 // use the Observer interface to filter IPC messages and receive frame change
1548 // notifications. 1548 // notifications.
1549 // --------------------------------------------------------------------------- 1549 // ---------------------------------------------------------------------------
1550 1550
1551 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1551 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1552 }; 1552 };
1553 1553
1554 } // namespace content 1554 } // namespace content
1555 1555
1556 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1556 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698