Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1154)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698