| 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 // Platform specific theme preferences if any are updated here. | 635 // Platform specific theme preferences if any are updated here. |
| 636 #if defined(OS_WIN) | 636 #if defined(OS_WIN) |
| 637 void UpdateThemePrefs(); | 637 void UpdateThemePrefs(); |
| 638 #else | 638 #else |
| 639 void UpdateThemePrefs() {} | 639 void UpdateThemePrefs() {} |
| 640 #endif | 640 #endif |
| 641 | 641 |
| 642 void UpdateWebViewWithDeviceScaleFactor(); | 642 void UpdateWebViewWithDeviceScaleFactor(); |
| 643 | 643 |
| 644 // Send the appropriate ack to be able discard this input event message. | 644 // Send the appropriate ack to be able discard this input event message. |
| 645 void OnDiscardInputEvent(const blink::WebInputEvent* input_event, | 645 void OnDiscardInputEvent( |
| 646 const ui::LatencyInfo& latency_info, | 646 const blink::WebInputEvent* input_event, |
| 647 InputEventDispatchType dispatch_type); | 647 const std::vector<const blink::WebInputEvent*>& coalesced_events, |
| 648 const ui::LatencyInfo& latency_info, |
| 649 InputEventDispatchType dispatch_type); |
| 648 | 650 |
| 649 // --------------------------------------------------------------------------- | 651 // --------------------------------------------------------------------------- |
| 650 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 652 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
| 651 // it in the same order in the .cc file as it was in the header. | 653 // it in the same order in the .cc file as it was in the header. |
| 652 // --------------------------------------------------------------------------- | 654 // --------------------------------------------------------------------------- |
| 653 | 655 |
| 654 // Settings ------------------------------------------------------------------ | 656 // Settings ------------------------------------------------------------------ |
| 655 | 657 |
| 656 WebPreferences webkit_preferences_; | 658 WebPreferences webkit_preferences_; |
| 657 RendererPreferences renderer_preferences_; | 659 RendererPreferences renderer_preferences_; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 // --------------------------------------------------------------------------- | 847 // --------------------------------------------------------------------------- |
| 846 | 848 |
| 847 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; | 849 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; |
| 848 | 850 |
| 849 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 851 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 850 }; | 852 }; |
| 851 | 853 |
| 852 } // namespace content | 854 } // namespace content |
| 853 | 855 |
| 854 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 856 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |