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