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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 // this object. | 723 // this object. |
724 base::ObserverList<RenderViewObserver>& observers() { return observers_; } | 724 base::ObserverList<RenderViewObserver>& observers() { return observers_; } |
725 | 725 |
726 NavigationGesture navigation_gesture() { | 726 NavigationGesture navigation_gesture() { |
727 return navigation_gesture_; | 727 return navigation_gesture_; |
728 } | 728 } |
729 void set_navigation_gesture(NavigationGesture gesture) { | 729 void set_navigation_gesture(NavigationGesture gesture) { |
730 navigation_gesture_ = gesture; | 730 navigation_gesture_ = gesture; |
731 } | 731 } |
732 | 732 |
733 // Platform specific theme preferences if any are updated here. | |
734 #if defined(OS_WIN) | |
735 void UpdateThemePrefs(); | |
736 #else | |
737 void UpdateThemePrefs() {} | |
738 #endif | |
739 | |
740 void UpdateWebViewWithDeviceScaleFactor(); | 733 void UpdateWebViewWithDeviceScaleFactor(); |
741 | 734 |
742 // --------------------------------------------------------------------------- | 735 // --------------------------------------------------------------------------- |
743 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 736 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
744 // it in the same order in the .cc file as it was in the header. | 737 // it in the same order in the .cc file as it was in the header. |
745 // --------------------------------------------------------------------------- | 738 // --------------------------------------------------------------------------- |
746 | 739 |
747 // Settings ------------------------------------------------------------------ | 740 // Settings ------------------------------------------------------------------ |
748 | 741 |
749 WebPreferences webkit_preferences_; | 742 WebPreferences webkit_preferences_; |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 // use the Observer interface to filter IPC messages and receive frame change | 969 // use the Observer interface to filter IPC messages and receive frame change |
977 // notifications. | 970 // notifications. |
978 // --------------------------------------------------------------------------- | 971 // --------------------------------------------------------------------------- |
979 | 972 |
980 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 973 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
981 }; | 974 }; |
982 | 975 |
983 } // namespace content | 976 } // namespace content |
984 | 977 |
985 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 978 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |