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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 class NavigationState; | 160 class NavigationState; |
161 class NotificationProvider; | 161 class NotificationProvider; |
162 class RenderViewObserver; | 162 class RenderViewObserver; |
163 class RenderViewTest; | 163 class RenderViewTest; |
164 class RendererAccessibility; | 164 class RendererAccessibility; |
165 class RendererDateTimePicker; | 165 class RendererDateTimePicker; |
166 class RendererPpapiHost; | 166 class RendererPpapiHost; |
167 class RendererWebColorChooserImpl; | 167 class RendererWebColorChooserImpl; |
168 class RenderWidgetFullscreenPepper; | 168 class RenderWidgetFullscreenPepper; |
169 class SpeechRecognitionDispatcher; | 169 class SpeechRecognitionDispatcher; |
| 170 class StatsCollectionExtension; |
170 class WebPluginDelegateProxy; | 171 class WebPluginDelegateProxy; |
171 struct CustomContextMenuContext; | 172 struct CustomContextMenuContext; |
172 struct FaviconURL; | 173 struct FaviconURL; |
173 struct FileChooserParams; | 174 struct FileChooserParams; |
174 struct RenderViewImplParams; | 175 struct RenderViewImplParams; |
175 | 176 |
176 #if defined(OS_ANDROID) | 177 #if defined(OS_ANDROID) |
177 class WebMediaPlayerProxyImplAndroid; | 178 class WebMediaPlayerProxyImplAndroid; |
178 #endif | 179 #endif |
179 | 180 |
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1526 | 1527 |
1527 #if defined(OS_WIN) | 1528 #if defined(OS_WIN) |
1528 // The ID of the focused NPAPI plug-in. | 1529 // The ID of the focused NPAPI plug-in. |
1529 int focused_plugin_id_; | 1530 int focused_plugin_id_; |
1530 #endif | 1531 #endif |
1531 | 1532 |
1532 // Allows JS to access DOM automation. The JS object is only exposed when the | 1533 // Allows JS to access DOM automation. The JS object is only exposed when the |
1533 // DOM automation bindings are enabled. | 1534 // DOM automation bindings are enabled. |
1534 scoped_ptr<DomAutomationController> dom_automation_controller_; | 1535 scoped_ptr<DomAutomationController> dom_automation_controller_; |
1535 | 1536 |
| 1537 // Allows JS to read out a variety of internal various metrics. The JS object |
| 1538 // is only exposed when the stats collection bindings are enabled. |
| 1539 scoped_ptr<StatsCollectionExtension> stats_collection_extension_; |
| 1540 |
1536 // Boolean indicating whether we are in the process of creating the frame | 1541 // Boolean indicating whether we are in the process of creating the frame |
1537 // tree for this renderer in response to ViewMsg_UpdateFrameTree. If true, | 1542 // tree for this renderer in response to ViewMsg_UpdateFrameTree. If true, |
1538 // we won't be sending ViewHostMsg_FrameTreeUpdated messages back to the | 1543 // we won't be sending ViewHostMsg_FrameTreeUpdated messages back to the |
1539 // browser, as those will be redundant. | 1544 // browser, as those will be redundant. |
1540 bool updating_frame_tree_; | 1545 bool updating_frame_tree_; |
1541 | 1546 |
1542 // Boolean indicating that the frame tree has changed, but a message has not | 1547 // Boolean indicating that the frame tree has changed, but a message has not |
1543 // been sent to the browser because a page has been loading. This helps | 1548 // been sent to the browser because a page has been loading. This helps |
1544 // avoid extra messages being sent to the browser when navigating away from a | 1549 // avoid extra messages being sent to the browser when navigating away from a |
1545 // page with subframes, which will be destroyed. Instead, a single message | 1550 // page with subframes, which will be destroyed. Instead, a single message |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1578 // use the Observer interface to filter IPC messages and receive frame change | 1583 // use the Observer interface to filter IPC messages and receive frame change |
1579 // notifications. | 1584 // notifications. |
1580 // --------------------------------------------------------------------------- | 1585 // --------------------------------------------------------------------------- |
1581 | 1586 |
1582 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1587 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1583 }; | 1588 }; |
1584 | 1589 |
1585 } // namespace content | 1590 } // namespace content |
1586 | 1591 |
1587 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1592 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |