Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 954923005: Make command-zero reset page scale in addition to zoom level (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 void OnSetPageEncoding(const std::string& encoding_name); 672 void OnSetPageEncoding(const std::string& encoding_name);
673 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 673 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
674 void OnSetWebUIProperty(const std::string& name, const std::string& value); 674 void OnSetWebUIProperty(const std::string& name, const std::string& value);
675 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 675 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
676 void OnSetZoomLevelForView(bool uses_temporary_zoom_level, double level); 676 void OnSetZoomLevelForView(bool uses_temporary_zoom_level, double level);
677 void OnStopFinding(StopFindAction action); 677 void OnStopFinding(StopFindAction action);
678 void OnSuppressDialogsUntilSwapOut(); 678 void OnSuppressDialogsUntilSwapOut();
679 void OnThemeChanged(); 679 void OnThemeChanged();
680 void OnUpdateTargetURLAck(); 680 void OnUpdateTargetURLAck();
681 void OnUpdateWebPreferences(const WebPreferences& prefs); 681 void OnUpdateWebPreferences(const WebPreferences& prefs);
682 void OnResetPageScale();
682 void OnZoom(PageZoom zoom); 683 void OnZoom(PageZoom zoom);
683 void OnEnableViewSourceMode(); 684 void OnEnableViewSourceMode();
684 void OnWindowSnapshotCompleted(const int snapshot_id, 685 void OnWindowSnapshotCompleted(const int snapshot_id,
685 const gfx::Size& size, const std::vector<unsigned char>& png); 686 const gfx::Size& size, const std::vector<unsigned char>& png);
686 void OnForceRedraw(int request_id); 687 void OnForceRedraw(int request_id);
687 void OnSelectWordAroundCaret(); 688 void OnSelectWordAroundCaret();
688 #if defined(OS_ANDROID) 689 #if defined(OS_ANDROID)
689 void OnActivateNearestFindResult(int request_id, float x, float y); 690 void OnActivateNearestFindResult(int request_id, float x, float y);
690 void OnFindMatchRects(int current_version); 691 void OnFindMatchRects(int current_version);
691 void OnUndoScrollFocusedEditableNodeIntoRect(); 692 void OnUndoScrollFocusedEditableNodeIntoRect();
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 // use the Observer interface to filter IPC messages and receive frame change 1048 // use the Observer interface to filter IPC messages and receive frame change
1048 // notifications. 1049 // notifications.
1049 // --------------------------------------------------------------------------- 1050 // ---------------------------------------------------------------------------
1050 1051
1051 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1052 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1052 }; 1053 };
1053 1054
1054 } // namespace content 1055 } // namespace content
1055 1056
1056 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1057 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698