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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 virtual int historyForwardListCount(); | 420 virtual int historyForwardListCount(); |
421 virtual void postAccessibilityEvent( | 421 virtual void postAccessibilityEvent( |
422 const blink::WebAXObject& obj, blink::WebAXEvent event); | 422 const blink::WebAXObject& obj, blink::WebAXEvent event); |
423 virtual void didUpdateInspectorSetting(const blink::WebString& key, | 423 virtual void didUpdateInspectorSetting(const blink::WebString& key, |
424 const blink::WebString& value); | 424 const blink::WebString& value); |
425 virtual blink::WebSpeechRecognizer* speechRecognizer(); | 425 virtual blink::WebSpeechRecognizer* speechRecognizer(); |
426 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 426 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
427 virtual void zoomLevelChanged(); | 427 virtual void zoomLevelChanged(); |
428 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 428 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
429 virtual double zoomFactorToZoomLevel(double factor) const; | 429 virtual double zoomFactorToZoomLevel(double factor) const; |
| 430 |
| 431 // TODO(sanjoy.pal): Remove once blink patch lands. http://crbug.com/406236. |
430 virtual void registerProtocolHandler(const blink::WebString& scheme, | 432 virtual void registerProtocolHandler(const blink::WebString& scheme, |
431 const blink::WebURL& base_url, | 433 const blink::WebURL& base_url, |
432 const blink::WebURL& url, | 434 const blink::WebURL& url, |
433 const blink::WebString& title); | 435 const blink::WebString& title); |
434 virtual void unregisterProtocolHandler(const blink::WebString& scheme, | 436 virtual void unregisterProtocolHandler(const blink::WebString& scheme, |
435 const blink::WebURL& base_url, | 437 const blink::WebURL& base_url, |
436 const blink::WebURL& url); | 438 const blink::WebURL& url); |
| 439 virtual void registerProtocolHandler(const blink::WebString& scheme, |
| 440 const blink::WebURL& url, |
| 441 const blink::WebString& title); |
| 442 virtual void unregisterProtocolHandler(const blink::WebString& scheme, |
| 443 const blink::WebURL& url); |
437 virtual blink::WebPageVisibilityState visibilityState() const; | 444 virtual blink::WebPageVisibilityState visibilityState() const; |
438 virtual blink::WebPushClient* webPushClient(); | 445 virtual blink::WebPushClient* webPushClient(); |
439 virtual void draggableRegionsChanged(); | 446 virtual void draggableRegionsChanged(); |
440 | 447 |
441 #if defined(OS_ANDROID) | 448 #if defined(OS_ANDROID) |
442 virtual void scheduleContentIntent(const blink::WebURL& intent); | 449 virtual void scheduleContentIntent(const blink::WebURL& intent); |
443 virtual void cancelScheduledContentIntents(); | 450 virtual void cancelScheduledContentIntents(); |
444 virtual blink::WebContentDetectionResult detectContentAround( | 451 virtual blink::WebContentDetectionResult detectContentAround( |
445 const blink::WebHitTestResult& touch_hit); | 452 const blink::WebHitTestResult& touch_hit); |
446 | 453 |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1144 // use the Observer interface to filter IPC messages and receive frame change | 1151 // use the Observer interface to filter IPC messages and receive frame change |
1145 // notifications. | 1152 // notifications. |
1146 // --------------------------------------------------------------------------- | 1153 // --------------------------------------------------------------------------- |
1147 | 1154 |
1148 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1155 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1149 }; | 1156 }; |
1150 | 1157 |
1151 } // namespace content | 1158 } // namespace content |
1152 | 1159 |
1153 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1160 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |