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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 void OnSetPageEncoding(const std::string& encoding_name); | 644 void OnSetPageEncoding(const std::string& encoding_name); |
645 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 645 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
646 void OnSetWebUIProperty(const std::string& name, const std::string& value); | 646 void OnSetWebUIProperty(const std::string& name, const std::string& value); |
647 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 647 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
648 void OnSetZoomLevelForView(bool uses_temporary_zoom_level, double level); | 648 void OnSetZoomLevelForView(bool uses_temporary_zoom_level, double level); |
649 void OnStopFinding(StopFindAction action); | 649 void OnStopFinding(StopFindAction action); |
650 void OnSuppressDialogsUntilSwapOut(); | 650 void OnSuppressDialogsUntilSwapOut(); |
651 void OnThemeChanged(); | 651 void OnThemeChanged(); |
652 void OnUpdateTargetURLAck(); | 652 void OnUpdateTargetURLAck(); |
653 void OnUpdateWebPreferences(const WebPreferences& prefs); | 653 void OnUpdateWebPreferences(const WebPreferences& prefs); |
| 654 void OnSetPageScale(float page_scale_factor); |
654 void OnResetPageScale(); | 655 void OnResetPageScale(); |
655 void OnZoom(PageZoom zoom); | 656 void OnZoom(PageZoom zoom); |
656 void OnEnableViewSourceMode(); | 657 void OnEnableViewSourceMode(); |
657 void OnForceRedraw(int request_id); | 658 void OnForceRedraw(int request_id); |
658 void OnSelectWordAroundCaret(); | 659 void OnSelectWordAroundCaret(); |
659 #if defined(OS_ANDROID) | 660 #if defined(OS_ANDROID) |
660 void OnActivateNearestFindResult(int request_id, float x, float y); | 661 void OnActivateNearestFindResult(int request_id, float x, float y); |
661 void OnFindMatchRects(int current_version); | 662 void OnFindMatchRects(int current_version); |
662 void OnUndoScrollFocusedEditableNodeIntoRect(); | 663 void OnUndoScrollFocusedEditableNodeIntoRect(); |
663 void OnUpdateTopControlsState(bool enable_hiding, | 664 void OnUpdateTopControlsState(bool enable_hiding, |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 // use the Observer interface to filter IPC messages and receive frame change | 1005 // use the Observer interface to filter IPC messages and receive frame change |
1005 // notifications. | 1006 // notifications. |
1006 // --------------------------------------------------------------------------- | 1007 // --------------------------------------------------------------------------- |
1007 | 1008 |
1008 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1009 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1009 }; | 1010 }; |
1010 | 1011 |
1011 } // namespace content | 1012 } // namespace content |
1012 | 1013 |
1013 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1014 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |