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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 virtual void navigateBackForwardSoon(int offset); | 418 virtual void navigateBackForwardSoon(int offset); |
419 virtual int historyBackListCount(); | 419 virtual int historyBackListCount(); |
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 blink::WebSpeechRecognizer* speechRecognizer(); | 423 virtual blink::WebSpeechRecognizer* speechRecognizer(); |
424 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 424 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
425 virtual void zoomLevelChanged(); | 425 virtual void zoomLevelChanged(); |
426 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 426 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
427 virtual double zoomFactorToZoomLevel(double factor) const; | 427 virtual double zoomFactorToZoomLevel(double factor) const; |
428 | |
429 // TODO(sanjoy.pal): Remove once blink patch lands. http://crbug.com/406236. | |
430 virtual void registerProtocolHandler(const blink::WebString& scheme, | |
431 const blink::WebURL& base_url, | |
432 const blink::WebURL& url, | |
433 const blink::WebString& title); | |
434 virtual void unregisterProtocolHandler(const blink::WebString& scheme, | |
435 const blink::WebURL& base_url, | |
436 const blink::WebURL& url); | |
437 virtual void registerProtocolHandler(const blink::WebString& scheme, | 428 virtual void registerProtocolHandler(const blink::WebString& scheme, |
438 const blink::WebURL& url, | 429 const blink::WebURL& url, |
439 const blink::WebString& title); | 430 const blink::WebString& title); |
440 virtual void unregisterProtocolHandler(const blink::WebString& scheme, | 431 virtual void unregisterProtocolHandler(const blink::WebString& scheme, |
441 const blink::WebURL& url); | 432 const blink::WebURL& url); |
442 virtual blink::WebPageVisibilityState visibilityState() const; | 433 virtual blink::WebPageVisibilityState visibilityState() const; |
443 virtual blink::WebPushClient* webPushClient(); | 434 virtual blink::WebPushClient* webPushClient(); |
444 virtual void draggableRegionsChanged(); | 435 virtual void draggableRegionsChanged(); |
445 | 436 |
446 #if defined(OS_ANDROID) | 437 #if defined(OS_ANDROID) |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 // use the Observer interface to filter IPC messages and receive frame change | 1140 // use the Observer interface to filter IPC messages and receive frame change |
1150 // notifications. | 1141 // notifications. |
1151 // --------------------------------------------------------------------------- | 1142 // --------------------------------------------------------------------------- |
1152 | 1143 |
1153 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1144 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1154 }; | 1145 }; |
1155 | 1146 |
1156 } // namespace content | 1147 } // namespace content |
1157 | 1148 |
1158 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1149 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |