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

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

Issue 1911973002: Fix scrollbar buttons at hidpi when enable-use-zoom-for-dsf is on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « content/child/webthemeengine_impl_default.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 // this object. 731 // this object.
732 base::ObserverList<RenderViewObserver>& observers() { return observers_; } 732 base::ObserverList<RenderViewObserver>& observers() { return observers_; }
733 733
734 NavigationGesture navigation_gesture() { 734 NavigationGesture navigation_gesture() {
735 return navigation_gesture_; 735 return navigation_gesture_;
736 } 736 }
737 void set_navigation_gesture(NavigationGesture gesture) { 737 void set_navigation_gesture(NavigationGesture gesture) {
738 navigation_gesture_ = gesture; 738 navigation_gesture_ = gesture;
739 } 739 }
740 740
741 // Platform specific theme preferences if any are updated here.
742 #if defined(OS_WIN)
743 void UpdateThemePrefs();
744 #else
745 void UpdateThemePrefs() {}
746 #endif
747
748 void UpdateWebViewWithDeviceScaleFactor(); 741 void UpdateWebViewWithDeviceScaleFactor();
749 742
750 // --------------------------------------------------------------------------- 743 // ---------------------------------------------------------------------------
751 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 744 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
752 // it in the same order in the .cc file as it was in the header. 745 // it in the same order in the .cc file as it was in the header.
753 // --------------------------------------------------------------------------- 746 // ---------------------------------------------------------------------------
754 747
755 // Settings ------------------------------------------------------------------ 748 // Settings ------------------------------------------------------------------
756 749
757 WebPreferences webkit_preferences_; 750 WebPreferences webkit_preferences_;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 // use the Observer interface to filter IPC messages and receive frame change 966 // use the Observer interface to filter IPC messages and receive frame change
974 // notifications. 967 // notifications.
975 // --------------------------------------------------------------------------- 968 // ---------------------------------------------------------------------------
976 969
977 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 970 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
978 }; 971 };
979 972
980 } // namespace content 973 } // namespace content
981 974
982 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 975 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/webthemeengine_impl_default.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698