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

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

Issue 2457503002: Send input message acks for swapped out renderers. (Closed)
Patch Set: Move histogram into conditional 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 688
689 // Platform specific theme preferences if any are updated here. 689 // Platform specific theme preferences if any are updated here.
690 #if defined(OS_WIN) 690 #if defined(OS_WIN)
691 void UpdateThemePrefs(); 691 void UpdateThemePrefs();
692 #else 692 #else
693 void UpdateThemePrefs() {} 693 void UpdateThemePrefs() {}
694 #endif 694 #endif
695 695
696 void UpdateWebViewWithDeviceScaleFactor(); 696 void UpdateWebViewWithDeviceScaleFactor();
697 697
698 // Send the appropriate ack to be able discard this input event message.
699 void OnDiscardInputEvent(const blink::WebInputEvent* input_event,
700 const ui::LatencyInfo& latency_info,
701 InputEventDispatchType dispatch_type);
702
698 // --------------------------------------------------------------------------- 703 // ---------------------------------------------------------------------------
699 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 704 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
700 // it in the same order in the .cc file as it was in the header. 705 // it in the same order in the .cc file as it was in the header.
701 // --------------------------------------------------------------------------- 706 // ---------------------------------------------------------------------------
702 707
703 // Settings ------------------------------------------------------------------ 708 // Settings ------------------------------------------------------------------
704 709
705 WebPreferences webkit_preferences_; 710 WebPreferences webkit_preferences_;
706 RendererPreferences renderer_preferences_; 711 RendererPreferences renderer_preferences_;
707 712
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 // use the Observer interface to filter IPC messages and receive frame change 907 // use the Observer interface to filter IPC messages and receive frame change
903 // notifications. 908 // notifications.
904 // --------------------------------------------------------------------------- 909 // ---------------------------------------------------------------------------
905 910
906 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 911 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
907 }; 912 };
908 913
909 } // namespace content 914 } // namespace content
910 915
911 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 916 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698