| 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 <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "content/common/view_message_enums.h" | 29 #include "content/common/view_message_enums.h" |
| 30 #include "content/public/common/javascript_message_type.h" | 30 #include "content/public/common/javascript_message_type.h" |
| 31 #include "content/public/common/page_zoom.h" | 31 #include "content/public/common/page_zoom.h" |
| 32 #include "content/public/common/referrer.h" | 32 #include "content/public/common/referrer.h" |
| 33 #include "content/public/common/renderer_preferences.h" | 33 #include "content/public/common/renderer_preferences.h" |
| 34 #include "content/public/common/stop_find_action.h" | 34 #include "content/public/common/stop_find_action.h" |
| 35 #include "content/public/common/top_controls_state.h" | 35 #include "content/public/common/top_controls_state.h" |
| 36 #include "content/public/renderer/render_view.h" | 36 #include "content/public/renderer/render_view.h" |
| 37 #include "content/renderer/media/webmediaplayer_delegate.h" | 37 #include "content/renderer/media/webmediaplayer_delegate.h" |
| 38 #include "content/renderer/mouse_lock_dispatcher.h" | 38 #include "content/renderer/mouse_lock_dispatcher.h" |
| 39 #include "content/renderer/pepper_helper.h" |
| 39 #include "content/renderer/render_frame_impl.h" | 40 #include "content/renderer/render_frame_impl.h" |
| 40 #include "content/renderer/render_view_pepper_helper.h" | |
| 41 #include "content/renderer/render_widget.h" | 41 #include "content/renderer/render_widget.h" |
| 42 #include "content/renderer/renderer_webcookiejar_impl.h" | 42 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 43 #include "content/renderer/stats_collection_observer.h" | 43 #include "content/renderer/stats_collection_observer.h" |
| 44 #include "ipc/ipc_platform_file.h" | 44 #include "ipc/ipc_platform_file.h" |
| 45 #include "third_party/WebKit/public/platform/WebFileSystem.h" | 45 #include "third_party/WebKit/public/platform/WebFileSystem.h" |
| 46 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 46 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 47 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 47 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
| 48 #include "third_party/WebKit/public/web/WebDataSource.h" | 48 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 49 #include "third_party/WebKit/public/web/WebFrameClient.h" | 49 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 50 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 50 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
| (...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1533 scoped_ptr<StatsCollectionController> stats_collection_controller_; | 1533 scoped_ptr<StatsCollectionController> stats_collection_controller_; |
| 1534 | 1534 |
| 1535 // This field stores drag/drop related info for the event that is currently | 1535 // This field stores drag/drop related info for the event that is currently |
| 1536 // being handled. If the current event results in starting a drag/drop | 1536 // being handled. If the current event results in starting a drag/drop |
| 1537 // session, this info is sent to the browser along with other drag/drop info. | 1537 // session, this info is sent to the browser along with other drag/drop info. |
| 1538 DragEventSourceInfo possible_drag_event_info_; | 1538 DragEventSourceInfo possible_drag_event_info_; |
| 1539 | 1539 |
| 1540 // NOTE: pepper_helper_ and stats_collection_observer_ should be the last | 1540 // NOTE: pepper_helper_ and stats_collection_observer_ should be the last |
| 1541 // members because their constructors call the AddObservers method of | 1541 // members because their constructors call the AddObservers method of |
| 1542 // RenderViewImpl. | 1542 // RenderViewImpl. |
| 1543 scoped_ptr<RenderViewPepperHelper> pepper_helper_; | 1543 scoped_ptr<PepperHelper> pepper_helper_; |
| 1544 scoped_ptr<StatsCollectionObserver> stats_collection_observer_; | 1544 scoped_ptr<StatsCollectionObserver> stats_collection_observer_; |
| 1545 | 1545 |
| 1546 ui::MenuSourceType context_menu_source_type_; | 1546 ui::MenuSourceType context_menu_source_type_; |
| 1547 gfx::Point touch_editing_context_menu_location_; | 1547 gfx::Point touch_editing_context_menu_location_; |
| 1548 | 1548 |
| 1549 // --------------------------------------------------------------------------- | 1549 // --------------------------------------------------------------------------- |
| 1550 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1550 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1551 // sections rather than throwing it randomly at the end. If you're adding a | 1551 // sections rather than throwing it randomly at the end. If you're adding a |
| 1552 // bunch of stuff, you should probably create a helper class and put your | 1552 // bunch of stuff, you should probably create a helper class and put your |
| 1553 // data and methods on that to avoid bloating RenderView more. You can | 1553 // data and methods on that to avoid bloating RenderView more. You can |
| 1554 // use the Observer interface to filter IPC messages and receive frame change | 1554 // use the Observer interface to filter IPC messages and receive frame change |
| 1555 // notifications. | 1555 // notifications. |
| 1556 // --------------------------------------------------------------------------- | 1556 // --------------------------------------------------------------------------- |
| 1557 | 1557 |
| 1558 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1558 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1559 }; | 1559 }; |
| 1560 | 1560 |
| 1561 } // namespace content | 1561 } // namespace content |
| 1562 | 1562 |
| 1563 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1563 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |