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

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

Issue 1412663005: Introduce painted-device-scale-factor and use it when --enable-use-zoom-for-dsf is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/renderer/gpu/render_widget_compositor.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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 navigation_gesture_ = gesture; 755 navigation_gesture_ = gesture;
756 } 756 }
757 757
758 // Platform specific theme preferences if any are updated here. 758 // Platform specific theme preferences if any are updated here.
759 #if defined(OS_WIN) 759 #if defined(OS_WIN)
760 void UpdateThemePrefs(); 760 void UpdateThemePrefs();
761 #else 761 #else
762 void UpdateThemePrefs() {} 762 void UpdateThemePrefs() {}
763 #endif 763 #endif
764 764
765 void UpdateDeviceScaleFactor();
766
765 // --------------------------------------------------------------------------- 767 // ---------------------------------------------------------------------------
766 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 768 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
767 // 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.
768 // --------------------------------------------------------------------------- 770 // ---------------------------------------------------------------------------
769 771
770 // Settings ------------------------------------------------------------------ 772 // Settings ------------------------------------------------------------------
771 773
772 WebPreferences webkit_preferences_; 774 WebPreferences webkit_preferences_;
773 RendererPreferences renderer_preferences_; 775 RendererPreferences renderer_preferences_;
774 776
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 // use the Observer interface to filter IPC messages and receive frame change 1023 // use the Observer interface to filter IPC messages and receive frame change
1022 // notifications. 1024 // notifications.
1023 // --------------------------------------------------------------------------- 1025 // ---------------------------------------------------------------------------
1024 1026
1025 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1026 }; 1028 };
1027 1029
1028 } // namespace content 1030 } // namespace content
1029 1031
1030 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698