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

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

Issue 131573003: Convert DomAutomationController from CppBoundClass to gin::Wrappable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 years, 11 months 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 <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
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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 1488
1490 // State associated with the GetWindowSnapshot function. 1489 // State associated with the GetWindowSnapshot function.
1491 int next_snapshot_id_; 1490 int next_snapshot_id_;
1492 typedef std::map<int, WindowSnapshotCallback> PendingSnapshotMap; 1491 typedef std::map<int, WindowSnapshotCallback> PendingSnapshotMap;
1493 PendingSnapshotMap pending_snapshots_; 1492 PendingSnapshotMap pending_snapshots_;
1494 1493
1495 // Allows to selectively disable partial buffer swap for this renderer's 1494 // Allows to selectively disable partial buffer swap for this renderer's
1496 // compositor. 1495 // compositor.
1497 bool allow_partial_swap_; 1496 bool allow_partial_swap_;
1498 1497
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
1503 // This field stores drag/drop related info for the event that is currently 1498 // This field stores drag/drop related info for the event that is currently
1504 // being handled. If the current event results in starting a drag/drop 1499 // being handled. If the current event results in starting a drag/drop
1505 // session, this info is sent to the browser along with other drag/drop info. 1500 // session, this info is sent to the browser along with other drag/drop info.
1506 DragEventSourceInfo possible_drag_event_info_; 1501 DragEventSourceInfo possible_drag_event_info_;
1507 1502
1508 // NOTE: stats_collection_observer_ should be the last members because their 1503 // NOTE: stats_collection_observer_ should be the last members because their
1509 // constructors call the AddObservers method of RenderViewImpl. 1504 // constructors call the AddObservers method of RenderViewImpl.
1510 scoped_ptr<StatsCollectionObserver> stats_collection_observer_; 1505 scoped_ptr<StatsCollectionObserver> stats_collection_observer_;
1511 1506
1512 ui::MenuSourceType context_menu_source_type_; 1507 ui::MenuSourceType context_menu_source_type_;
1513 gfx::Point touch_editing_context_menu_location_; 1508 gfx::Point touch_editing_context_menu_location_;
1514 1509
1515 // --------------------------------------------------------------------------- 1510 // ---------------------------------------------------------------------------
1516 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1511 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1517 // sections rather than throwing it randomly at the end. If you're adding a 1512 // sections rather than throwing it randomly at the end. If you're adding a
1518 // bunch of stuff, you should probably create a helper class and put your 1513 // bunch of stuff, you should probably create a helper class and put your
1519 // data and methods on that to avoid bloating RenderView more. You can 1514 // data and methods on that to avoid bloating RenderView more. You can
1520 // use the Observer interface to filter IPC messages and receive frame change 1515 // use the Observer interface to filter IPC messages and receive frame change
1521 // notifications. 1516 // notifications.
1522 // --------------------------------------------------------------------------- 1517 // ---------------------------------------------------------------------------
1523 1518
1524 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1519 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1525 }; 1520 };
1526 1521
1527 } // namespace content 1522 } // namespace content
1528 1523
1529 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1524 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698