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

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: minor edits 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
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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 // this object. 755 // this object.
756 base::ObserverList<RenderViewObserver>& observers() { return observers_; } 756 base::ObserverList<RenderViewObserver>& observers() { return observers_; }
757 757
758 NavigationGesture navigation_gesture() { 758 NavigationGesture navigation_gesture() {
759 return navigation_gesture_; 759 return navigation_gesture_;
760 } 760 }
761 void set_navigation_gesture(NavigationGesture gesture) { 761 void set_navigation_gesture(NavigationGesture gesture) {
762 navigation_gesture_ = gesture; 762 navigation_gesture_ = gesture;
763 } 763 }
764 764
765 // Platform specific theme preferences if any are updated here.
766 #if defined(OS_WIN)
767 void UpdateThemePrefs();
768 #else
769 void UpdateThemePrefs() {}
770 #endif
771
772 void UpdateWebViewWithDeviceScaleFactor(); 765 void UpdateWebViewWithDeviceScaleFactor();
773 766
774 // --------------------------------------------------------------------------- 767 // ---------------------------------------------------------------------------
775 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 768 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
776 // it in the same order in the .cc file as it was in the header. 769 // it in the same order in the .cc file as it was in the header.
777 // --------------------------------------------------------------------------- 770 // ---------------------------------------------------------------------------
778 771
779 // Settings ------------------------------------------------------------------ 772 // Settings ------------------------------------------------------------------
780 773
781 WebPreferences webkit_preferences_; 774 WebPreferences webkit_preferences_;
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 // use the Observer interface to filter IPC messages and receive frame change 1008 // use the Observer interface to filter IPC messages and receive frame change
1016 // notifications. 1009 // notifications.
1017 // --------------------------------------------------------------------------- 1010 // ---------------------------------------------------------------------------
1018 1011
1019 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1012 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1020 }; 1013 };
1021 1014
1022 } // namespace content 1015 } // namespace content
1023 1016
1024 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1017 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698