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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 is_swapped_out_ = swapped_out; | 758 is_swapped_out_ = swapped_out; |
759 } | 759 } |
760 | 760 |
761 NavigationGesture navigation_gesture() { | 761 NavigationGesture navigation_gesture() { |
762 return navigation_gesture_; | 762 return navigation_gesture_; |
763 } | 763 } |
764 void set_navigation_gesture(NavigationGesture gesture) { | 764 void set_navigation_gesture(NavigationGesture gesture) { |
765 navigation_gesture_ = gesture; | 765 navigation_gesture_ = gesture; |
766 } | 766 } |
767 | 767 |
| 768 // Platform specific theme preferences if any are updated here. |
| 769 #if defined(OS_WIN) |
| 770 void UpdateThemePrefs(); |
| 771 #else |
| 772 void UpdateThemePrefs() {} |
| 773 #endif |
| 774 |
768 // --------------------------------------------------------------------------- | 775 // --------------------------------------------------------------------------- |
769 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 776 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
770 // it in the same order in the .cc file as it was in the header. | 777 // it in the same order in the .cc file as it was in the header. |
771 // --------------------------------------------------------------------------- | 778 // --------------------------------------------------------------------------- |
772 | 779 |
773 // Settings ------------------------------------------------------------------ | 780 // Settings ------------------------------------------------------------------ |
774 | 781 |
775 WebPreferences webkit_preferences_; | 782 WebPreferences webkit_preferences_; |
776 RendererPreferences renderer_preferences_; | 783 RendererPreferences renderer_preferences_; |
777 | 784 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 // 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 |
1017 // notifications. | 1024 // notifications. |
1018 // --------------------------------------------------------------------------- | 1025 // --------------------------------------------------------------------------- |
1019 | 1026 |
1020 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1021 }; | 1028 }; |
1022 | 1029 |
1023 } // namespace content | 1030 } // namespace content |
1024 | 1031 |
1025 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |