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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 virtual void postAccessibilityEvent( | 485 virtual void postAccessibilityEvent( |
486 const blink::WebAXObject& obj, blink::WebAXEvent event); | 486 const blink::WebAXObject& obj, blink::WebAXEvent event); |
487 virtual void didUpdateInspectorSetting(const blink::WebString& key, | 487 virtual void didUpdateInspectorSetting(const blink::WebString& key, |
488 const blink::WebString& value); | 488 const blink::WebString& value); |
489 virtual blink::WebGeolocationClient* geolocationClient(); | 489 virtual blink::WebGeolocationClient* geolocationClient(); |
490 virtual blink::WebSpeechInputController* speechInputController( | 490 virtual blink::WebSpeechInputController* speechInputController( |
491 blink::WebSpeechInputListener* listener); | 491 blink::WebSpeechInputListener* listener); |
492 virtual blink::WebSpeechRecognizer* speechRecognizer(); | 492 virtual blink::WebSpeechRecognizer* speechRecognizer(); |
493 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 493 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
494 virtual void zoomLevelChanged(); | 494 virtual void zoomLevelChanged(); |
| 495 virtual void zoomLevelChanged(int zoom_id, double zoom_level, bool remember); |
495 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 496 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
496 virtual double zoomFactorToZoomLevel(double factor) const; | 497 virtual double zoomFactorToZoomLevel(double factor) const; |
497 virtual void registerProtocolHandler(const blink::WebString& scheme, | 498 virtual void registerProtocolHandler(const blink::WebString& scheme, |
498 const blink::WebURL& base_url, | 499 const blink::WebURL& base_url, |
499 const blink::WebURL& url, | 500 const blink::WebURL& url, |
500 const blink::WebString& title); | 501 const blink::WebString& title); |
501 virtual blink::WebPageVisibilityState visibilityState() const; | 502 virtual blink::WebPageVisibilityState visibilityState() const; |
502 virtual blink::WebUserMediaClient* userMediaClient(); | 503 virtual blink::WebUserMediaClient* userMediaClient(); |
503 virtual blink::WebMIDIClient* webMIDIClient(); | 504 virtual blink::WebMIDIClient* webMIDIClient(); |
504 virtual void draggableRegionsChanged(); | 505 virtual void draggableRegionsChanged(); |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 void OnResetPageEncodingToDefault(); | 900 void OnResetPageEncodingToDefault(); |
900 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 901 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
901 void OnSetActive(bool active); | 902 void OnSetActive(bool active); |
902 void OnSetBackground(const SkBitmap& background); | 903 void OnSetBackground(const SkBitmap& background); |
903 void OnExitFullscreen(); | 904 void OnExitFullscreen(); |
904 void OnSetHistoryLengthAndPrune(int history_length, int32 minimum_page_id); | 905 void OnSetHistoryLengthAndPrune(int history_length, int32 minimum_page_id); |
905 void OnSetInitialFocus(bool reverse); | 906 void OnSetInitialFocus(bool reverse); |
906 void OnSetPageEncoding(const std::string& encoding_name); | 907 void OnSetPageEncoding(const std::string& encoding_name); |
907 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 908 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
908 void OnSetWebUIProperty(const std::string& name, const std::string& value); | 909 void OnSetWebUIProperty(const std::string& name, const std::string& value); |
909 void OnSetZoomLevel(double zoom_level); | 910 void OnSetZoomLevel(int zoom_id, double zoom_level, |
| 911 content::ZoomMode zoom_mode); |
910 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 912 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
911 void OnStop(); | 913 void OnStop(); |
912 void OnStopFinding(StopFindAction action); | 914 void OnStopFinding(StopFindAction action); |
913 void OnSuppressDialogsUntilSwapOut(); | 915 void OnSuppressDialogsUntilSwapOut(); |
914 void OnThemeChanged(); | 916 void OnThemeChanged(); |
915 void OnUpdateTargetURLAck(); | 917 void OnUpdateTargetURLAck(); |
916 void OnUpdateWebPreferences(const WebPreferences& prefs); | 918 void OnUpdateWebPreferences(const WebPreferences& prefs); |
917 void OnZoom(PageZoom zoom); | 919 void OnZoom(PageZoom zoom); |
918 void OnEnableViewSourceMode(); | 920 void OnEnableViewSourceMode(); |
919 void OnDisownOpener(); | 921 void OnDisownOpener(); |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1400 // use the Observer interface to filter IPC messages and receive frame change | 1402 // use the Observer interface to filter IPC messages and receive frame change |
1401 // notifications. | 1403 // notifications. |
1402 // --------------------------------------------------------------------------- | 1404 // --------------------------------------------------------------------------- |
1403 | 1405 |
1404 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1406 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1405 }; | 1407 }; |
1406 | 1408 |
1407 } // namespace content | 1409 } // namespace content |
1408 | 1410 |
1409 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1411 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |