| 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 // this object. | 694 // this object. |
| 695 base::ObserverList<RenderViewObserver>& observers() { return observers_; } | 695 base::ObserverList<RenderViewObserver>& observers() { return observers_; } |
| 696 | 696 |
| 697 NavigationGesture navigation_gesture() { | 697 NavigationGesture navigation_gesture() { |
| 698 return navigation_gesture_; | 698 return navigation_gesture_; |
| 699 } | 699 } |
| 700 void set_navigation_gesture(NavigationGesture gesture) { | 700 void set_navigation_gesture(NavigationGesture gesture) { |
| 701 navigation_gesture_ = gesture; | 701 navigation_gesture_ = gesture; |
| 702 } | 702 } |
| 703 | 703 |
| 704 // Platform specific theme preferences if any are updated here. |
| 705 #if defined(OS_WIN) |
| 706 void UpdateThemePrefs(); |
| 707 #else |
| 708 void UpdateThemePrefs() {} |
| 709 #endif |
| 710 |
| 704 void UpdateWebViewWithDeviceScaleFactor(); | 711 void UpdateWebViewWithDeviceScaleFactor(); |
| 705 | 712 |
| 706 // --------------------------------------------------------------------------- | 713 // --------------------------------------------------------------------------- |
| 707 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 714 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
| 708 // it in the same order in the .cc file as it was in the header. | 715 // it in the same order in the .cc file as it was in the header. |
| 709 // --------------------------------------------------------------------------- | 716 // --------------------------------------------------------------------------- |
| 710 | 717 |
| 711 // Settings ------------------------------------------------------------------ | 718 // Settings ------------------------------------------------------------------ |
| 712 | 719 |
| 713 WebPreferences webkit_preferences_; | 720 WebPreferences webkit_preferences_; |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 // use the Observer interface to filter IPC messages and receive frame change | 927 // use the Observer interface to filter IPC messages and receive frame change |
| 921 // notifications. | 928 // notifications. |
| 922 // --------------------------------------------------------------------------- | 929 // --------------------------------------------------------------------------- |
| 923 | 930 |
| 924 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 931 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 925 }; | 932 }; |
| 926 | 933 |
| 927 } // namespace content | 934 } // namespace content |
| 928 | 935 |
| 929 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 936 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |