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

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: 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/render_view_pepper_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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 // If this render view is a swapped out "mirror" of an active render view in a 1526 // If this render view is a swapped out "mirror" of an active render view in a
1527 // different process, we record the process id and route id for the active RV. 1527 // different process, we record the process id and route id for the active RV.
1528 // For further details, see the comments on ViewHostMsg_FrameTreeUpdated. 1528 // For further details, see the comments on ViewHostMsg_FrameTreeUpdated.
1529 int target_process_id_; 1529 int target_process_id_;
1530 int target_routing_id_; 1530 int target_routing_id_;
1531 1531
1532 // A map of the current process's frame ids to ids in the remote active render 1532 // A map of the current process's frame ids to ids in the remote active render
1533 // view, if this is a swapped out render view. 1533 // view, if this is a swapped out render view.
1534 std::map<int, int> active_frame_id_map_; 1534 std::map<int, int> active_frame_id_map_;
1535 1535
1536 // NOTE: pepper_delegate_ should be last member because its constructor calls
1537 // AddObservers method of RenderViewImpl from c-tor.
1538 PepperPluginDelegateImpl pepper_delegate_;
1539
1540 // This field stores drag/drop related info for the event that is currently 1536 // This field stores drag/drop related info for the event that is currently
1541 // being handled. If the current event results in starting a drag/drop 1537 // being handled. If the current event results in starting a drag/drop
1542 // session, this info is sent to the browser along with other drag/drop info. 1538 // session, this info is sent to the browser along with other drag/drop info.
1543 DragEventSourceInfo possible_drag_event_info_; 1539 DragEventSourceInfo possible_drag_event_info_;
1544 1540
1541 // NOTE: pepper_helper_ should be last member because its constructor calls
1542 // AddObservers method of RenderViewImpl from c-tor.
1543 scoped_ptr<RenderViewPepperHelper> pepper_helper_;
1544
1545 // --------------------------------------------------------------------------- 1545 // ---------------------------------------------------------------------------
1546 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1546 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1547 // sections rather than throwing it randomly at the end. If you're adding a 1547 // sections rather than throwing it randomly at the end. If you're adding a
1548 // bunch of stuff, you should probably create a helper class and put your 1548 // bunch of stuff, you should probably create a helper class and put your
1549 // data and methods on that to avoid bloating RenderView more. You can 1549 // data and methods on that to avoid bloating RenderView more. You can
1550 // use the Observer interface to filter IPC messages and receive frame change 1550 // use the Observer interface to filter IPC messages and receive frame change
1551 // notifications. 1551 // notifications.
1552 // --------------------------------------------------------------------------- 1552 // ---------------------------------------------------------------------------
1553 1553
1554 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1554 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1555 }; 1555 };
1556 1556
1557 } // namespace content 1557 } // namespace content
1558 1558
1559 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1559 #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