| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 class AutoFillHelper; | 57 class AutoFillHelper; |
| 58 class CustomMenuListener; | 58 class CustomMenuListener; |
| 59 class DictionaryValue; | 59 class DictionaryValue; |
| 60 class DeviceOrientationDispatcher; | 60 class DeviceOrientationDispatcher; |
| 61 class DevToolsAgent; | 61 class DevToolsAgent; |
| 62 class DevToolsClient; | 62 class DevToolsClient; |
| 63 class DomAutomationController; | 63 class DomAutomationController; |
| 64 class DOMUIBindings; | 64 class DOMUIBindings; |
| 65 class ExternalHostBindings; | 65 class ExternalHostBindings; |
| 66 class FilePath; | 66 class FilePath; |
| 67 class GeolocationDispatcher; | |
| 68 class GeolocationDispatcherOld; | 67 class GeolocationDispatcherOld; |
| 69 class GURL; | 68 class GURL; |
| 70 class ListValue; | 69 class ListValue; |
| 71 class NavigationState; | 70 class NavigationState; |
| 72 class NotificationProvider; | 71 class NotificationProvider; |
| 73 class PageClickTracker; | 72 class PageClickTracker; |
| 74 class PasswordAutocompleteManager; | 73 class PasswordAutocompleteManager; |
| 75 class PepperDeviceTest; | 74 class PepperDeviceTest; |
| 76 class PluginGroup; | 75 class PluginGroup; |
| 77 class PrintWebViewHelper; | 76 class PrintWebViewHelper; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 113 |
| 115 namespace WebKit { | 114 namespace WebKit { |
| 116 class WebAccessibilityCache; | 115 class WebAccessibilityCache; |
| 117 class WebAccessibilityObject; | 116 class WebAccessibilityObject; |
| 118 class WebApplicationCacheHost; | 117 class WebApplicationCacheHost; |
| 119 class WebApplicationCacheHostClient; | 118 class WebApplicationCacheHostClient; |
| 120 class WebDataSource; | 119 class WebDataSource; |
| 121 class WebDocument; | 120 class WebDocument; |
| 122 class WebDragData; | 121 class WebDragData; |
| 123 class WebFrame; | 122 class WebFrame; |
| 124 class WebGeolocationClient; | |
| 125 class WebGeolocationServiceInterface; | 123 class WebGeolocationServiceInterface; |
| 126 class WebImage; | 124 class WebImage; |
| 127 class WebInputElement; | 125 class WebInputElement; |
| 128 class WebKeyboardEvent; | 126 class WebKeyboardEvent; |
| 129 class WebMediaPlayer; | 127 class WebMediaPlayer; |
| 130 class WebMediaPlayerClient; | 128 class WebMediaPlayerClient; |
| 131 class WebMouseEvent; | 129 class WebMouseEvent; |
| 132 class WebNode; | 130 class WebNode; |
| 133 class WebPlugin; | 131 class WebPlugin; |
| 134 class WebSpeechInputController; | 132 class WebSpeechInputController; |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 const WebKit::WebString& label, | 475 const WebKit::WebString& label, |
| 478 int unique_id, | 476 int unique_id, |
| 479 unsigned index); | 477 unsigned index); |
| 480 virtual void didSelectAutoFillSuggestion(const WebKit::WebNode& node, | 478 virtual void didSelectAutoFillSuggestion(const WebKit::WebNode& node, |
| 481 const WebKit::WebString& value, | 479 const WebKit::WebString& value, |
| 482 const WebKit::WebString& label, | 480 const WebKit::WebString& label, |
| 483 int unique_id); | 481 int unique_id); |
| 484 virtual void didClearAutoFillSelection(const WebKit::WebNode& node); | 482 virtual void didClearAutoFillSelection(const WebKit::WebNode& node); |
| 485 virtual void didAcceptAutocompleteSuggestion( | 483 virtual void didAcceptAutocompleteSuggestion( |
| 486 const WebKit::WebInputElement& element); | 484 const WebKit::WebInputElement& element); |
| 487 #if defined(ENABLE_CLIENT_BASED_GEOLOCATION) | |
| 488 virtual WebKit::WebGeolocationClient* geolocationClient(); | |
| 489 #else | |
| 490 virtual WebKit::WebGeolocationService* geolocationService(); | 485 virtual WebKit::WebGeolocationService* geolocationService(); |
| 491 #endif | |
| 492 virtual WebKit::WebSpeechInputController* speechInputController( | 486 virtual WebKit::WebSpeechInputController* speechInputController( |
| 493 WebKit::WebSpeechInputListener* listener); | 487 WebKit::WebSpeechInputListener* listener); |
| 494 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 488 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
| 495 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 489 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
| 496 virtual void zoomLevelChanged(); | 490 virtual void zoomLevelChanged(); |
| 497 | 491 |
| 498 // WebKit::WebFrameClient implementation ------------------------------------- | 492 // WebKit::WebFrameClient implementation ------------------------------------- |
| 499 | 493 |
| 500 virtual WebKit::WebPlugin* createPlugin( | 494 virtual WebKit::WebPlugin* createPlugin( |
| 501 WebKit::WebFrame* frame, | 495 WebKit::WebFrame* frame, |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1373 // Holds a reference to the service which provides desktop notifications. | 1367 // Holds a reference to the service which provides desktop notifications. |
| 1374 scoped_ptr<NotificationProvider> notification_provider_; | 1368 scoped_ptr<NotificationProvider> notification_provider_; |
| 1375 | 1369 |
| 1376 // PrintWebViewHelper handles printing. Note that this object is constructed | 1370 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 1377 // when printing for the first time but only destroyed with the RenderView. | 1371 // when printing for the first time but only destroyed with the RenderView. |
| 1378 scoped_ptr<PrintWebViewHelper> print_helper_; | 1372 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 1379 | 1373 |
| 1380 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 1374 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 1381 | 1375 |
| 1382 // The geolocation dispatcher attached to this view, lazily initialized. | 1376 // The geolocation dispatcher attached to this view, lazily initialized. |
| 1383 #if ENABLE_CLIENT_BASED_GEOLOCATION | |
| 1384 scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_; | |
| 1385 #else | |
| 1386 scoped_ptr<GeolocationDispatcherOld> geolocation_dispatcher_; | 1377 scoped_ptr<GeolocationDispatcherOld> geolocation_dispatcher_; |
| 1387 #endif | |
| 1388 | 1378 |
| 1389 // Handles accessibility requests into the renderer side, as well as | 1379 // Handles accessibility requests into the renderer side, as well as |
| 1390 // maintains the cache and other features of the accessibility tree. | 1380 // maintains the cache and other features of the accessibility tree. |
| 1391 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; | 1381 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; |
| 1392 | 1382 |
| 1393 // Collect renderer accessibility notifications until they are ready to be | 1383 // Collect renderer accessibility notifications until they are ready to be |
| 1394 // sent to the browser. | 1384 // sent to the browser. |
| 1395 std::vector<RendererAccessibilityNotification> | 1385 std::vector<RendererAccessibilityNotification> |
| 1396 pending_accessibility_notifications_; | 1386 pending_accessibility_notifications_; |
| 1397 | 1387 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1490 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1480 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1491 // sections rather than throwing it randomly at the end. If you're adding a | 1481 // sections rather than throwing it randomly at the end. If you're adding a |
| 1492 // bunch of stuff, you should probably create a helper class and put your | 1482 // bunch of stuff, you should probably create a helper class and put your |
| 1493 // data and methods on that to avoid bloating RenderView more. | 1483 // data and methods on that to avoid bloating RenderView more. |
| 1494 // --------------------------------------------------------------------------- | 1484 // --------------------------------------------------------------------------- |
| 1495 | 1485 |
| 1496 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1486 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1497 }; | 1487 }; |
| 1498 | 1488 |
| 1499 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1489 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |