| 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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 // Platform specific theme preferences if any are updated here. | 628 // Platform specific theme preferences if any are updated here. |
| 629 #if defined(OS_WIN) | 629 #if defined(OS_WIN) |
| 630 void UpdateThemePrefs(); | 630 void UpdateThemePrefs(); |
| 631 #else | 631 #else |
| 632 void UpdateThemePrefs() {} | 632 void UpdateThemePrefs() {} |
| 633 #endif | 633 #endif |
| 634 | 634 |
| 635 void UpdateWebViewWithDeviceScaleFactor(); | 635 void UpdateWebViewWithDeviceScaleFactor(); |
| 636 | 636 |
| 637 // Send the appropriate ack to be able discard this input event message. | 637 // Send the appropriate ack to be able discard this input event message. |
| 638 void OnDiscardInputEvent(const blink::WebInputEvent* input_event, | 638 void OnDiscardInputEvent( |
| 639 const ui::LatencyInfo& latency_info, | 639 const blink::WebInputEvent* input_event, |
| 640 InputEventDispatchType dispatch_type); | 640 const std::vector<const blink::WebInputEvent*>& coalescedEvents, |
| 641 const ui::LatencyInfo& latency_info, |
| 642 InputEventDispatchType dispatch_type); |
| 641 | 643 |
| 642 // --------------------------------------------------------------------------- | 644 // --------------------------------------------------------------------------- |
| 643 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 645 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
| 644 // it in the same order in the .cc file as it was in the header. | 646 // it in the same order in the .cc file as it was in the header. |
| 645 // --------------------------------------------------------------------------- | 647 // --------------------------------------------------------------------------- |
| 646 | 648 |
| 647 // Settings ------------------------------------------------------------------ | 649 // Settings ------------------------------------------------------------------ |
| 648 | 650 |
| 649 WebPreferences webkit_preferences_; | 651 WebPreferences webkit_preferences_; |
| 650 RendererPreferences renderer_preferences_; | 652 RendererPreferences renderer_preferences_; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 // use the Observer interface to filter IPC messages and receive frame change | 841 // use the Observer interface to filter IPC messages and receive frame change |
| 840 // notifications. | 842 // notifications. |
| 841 // --------------------------------------------------------------------------- | 843 // --------------------------------------------------------------------------- |
| 842 | 844 |
| 843 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 845 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 844 }; | 846 }; |
| 845 | 847 |
| 846 } // namespace content | 848 } // namespace content |
| 847 | 849 |
| 848 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 850 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |