| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 namespace webkit_glue { | 127 namespace webkit_glue { |
| 128 class WebURLResponseExtraDataImpl; | 128 class WebURLResponseExtraDataImpl; |
| 129 } | 129 } |
| 130 | 130 |
| 131 namespace content { | 131 namespace content { |
| 132 class BrowserPluginManager; | 132 class BrowserPluginManager; |
| 133 class DeviceOrientationDispatcher; | 133 class DeviceOrientationDispatcher; |
| 134 class DevToolsAgent; | 134 class DevToolsAgent; |
| 135 class DocumentState; | 135 class DocumentState; |
| 136 class DomAutomationController; |
| 136 class ExternalPopupMenu; | 137 class ExternalPopupMenu; |
| 137 class FaviconHelper; | 138 class FaviconHelper; |
| 138 class GeolocationDispatcher; | 139 class GeolocationDispatcher; |
| 139 class ImageResourceFetcher; | 140 class ImageResourceFetcher; |
| 140 class InputTagSpeechDispatcher; | 141 class InputTagSpeechDispatcher; |
| 141 class JavaBridgeDispatcher; | 142 class JavaBridgeDispatcher; |
| 142 class LoadProgressTracker; | 143 class LoadProgressTracker; |
| 143 class MIDIDispatcher; | 144 class MIDIDispatcher; |
| 144 class MediaStreamClient; | 145 class MediaStreamClient; |
| 145 class MediaStreamDispatcher; | 146 class MediaStreamDispatcher; |
| (...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1488 | 1489 |
| 1489 // State associated with the GetWindowSnapshot function. | 1490 // State associated with the GetWindowSnapshot function. |
| 1490 int next_snapshot_id_; | 1491 int next_snapshot_id_; |
| 1491 typedef std::map<int, WindowSnapshotCallback> PendingSnapshotMap; | 1492 typedef std::map<int, WindowSnapshotCallback> PendingSnapshotMap; |
| 1492 PendingSnapshotMap pending_snapshots_; | 1493 PendingSnapshotMap pending_snapshots_; |
| 1493 | 1494 |
| 1494 // Allows to selectively disable partial buffer swap for this renderer's | 1495 // Allows to selectively disable partial buffer swap for this renderer's |
| 1495 // compositor. | 1496 // compositor. |
| 1496 bool allow_partial_swap_; | 1497 bool allow_partial_swap_; |
| 1497 | 1498 |
| 1499 // Allows JS to access DOM automation. The JS object is only exposed when the |
| 1500 // DOM automation bindings are enabled. |
| 1501 scoped_ptr<DomAutomationController> dom_automation_controller_; |
| 1502 |
| 1498 // This field stores drag/drop related info for the event that is currently | 1503 // This field stores drag/drop related info for the event that is currently |
| 1499 // being handled. If the current event results in starting a drag/drop | 1504 // being handled. If the current event results in starting a drag/drop |
| 1500 // session, this info is sent to the browser along with other drag/drop info. | 1505 // session, this info is sent to the browser along with other drag/drop info. |
| 1501 DragEventSourceInfo possible_drag_event_info_; | 1506 DragEventSourceInfo possible_drag_event_info_; |
| 1502 | 1507 |
| 1503 // NOTE: stats_collection_observer_ should be the last members because their | 1508 // NOTE: stats_collection_observer_ should be the last members because their |
| 1504 // constructors call the AddObservers method of RenderViewImpl. | 1509 // constructors call the AddObservers method of RenderViewImpl. |
| 1505 scoped_ptr<StatsCollectionObserver> stats_collection_observer_; | 1510 scoped_ptr<StatsCollectionObserver> stats_collection_observer_; |
| 1506 | 1511 |
| 1507 ui::MenuSourceType context_menu_source_type_; | 1512 ui::MenuSourceType context_menu_source_type_; |
| 1508 gfx::Point touch_editing_context_menu_location_; | 1513 gfx::Point touch_editing_context_menu_location_; |
| 1509 | 1514 |
| 1510 // --------------------------------------------------------------------------- | 1515 // --------------------------------------------------------------------------- |
| 1511 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1516 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1512 // sections rather than throwing it randomly at the end. If you're adding a | 1517 // sections rather than throwing it randomly at the end. If you're adding a |
| 1513 // bunch of stuff, you should probably create a helper class and put your | 1518 // bunch of stuff, you should probably create a helper class and put your |
| 1514 // data and methods on that to avoid bloating RenderView more. You can | 1519 // data and methods on that to avoid bloating RenderView more. You can |
| 1515 // use the Observer interface to filter IPC messages and receive frame change | 1520 // use the Observer interface to filter IPC messages and receive frame change |
| 1516 // notifications. | 1521 // notifications. |
| 1517 // --------------------------------------------------------------------------- | 1522 // --------------------------------------------------------------------------- |
| 1518 | 1523 |
| 1519 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1524 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1520 }; | 1525 }; |
| 1521 | 1526 |
| 1522 } // namespace content | 1527 } // namespace content |
| 1523 | 1528 |
| 1524 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1529 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |