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