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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Created 4 years, 1 month 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
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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 // Platform specific theme preferences if any are updated here. 685 // Platform specific theme preferences if any are updated here.
686 #if defined(OS_WIN) 686 #if defined(OS_WIN)
687 void UpdateThemePrefs(); 687 void UpdateThemePrefs();
688 #else 688 #else
689 void UpdateThemePrefs() {} 689 void UpdateThemePrefs() {}
690 #endif 690 #endif
691 691
692 void UpdateWebViewWithDeviceScaleFactor(); 692 void UpdateWebViewWithDeviceScaleFactor();
693 693
694 // Send the appropriate ack to be able discard this input event message. 694 // Send the appropriate ack to be able discard this input event message.
695 void OnDiscardInputEvent(const blink::WebInputEvent* input_event, 695 void OnDiscardInputEvent(
696 const ui::LatencyInfo& latency_info, 696 const blink::WebInputEvent* input_event,
697 InputEventDispatchType dispatch_type); 697 const std::vector<const blink::WebInputEvent*>& coalescedEvents,
698 const ui::LatencyInfo& latency_info,
699 InputEventDispatchType dispatch_type);
698 700
699 // --------------------------------------------------------------------------- 701 // ---------------------------------------------------------------------------
700 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 702 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
701 // it in the same order in the .cc file as it was in the header. 703 // it in the same order in the .cc file as it was in the header.
702 // --------------------------------------------------------------------------- 704 // ---------------------------------------------------------------------------
703 705
704 // Settings ------------------------------------------------------------------ 706 // Settings ------------------------------------------------------------------
705 707
706 WebPreferences webkit_preferences_; 708 WebPreferences webkit_preferences_;
707 RendererPreferences renderer_preferences_; 709 RendererPreferences renderer_preferences_;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 // use the Observer interface to filter IPC messages and receive frame change 903 // use the Observer interface to filter IPC messages and receive frame change
902 // notifications. 904 // notifications.
903 // --------------------------------------------------------------------------- 905 // ---------------------------------------------------------------------------
904 906
905 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 907 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
906 }; 908 };
907 909
908 } // namespace content 910 } // namespace content
909 911
910 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 912 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698