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