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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |