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

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

Issue 2643723007: time metric: record elapsed time from when the backgrounded and purged renderer is foregrounded unti (Closed)
Patch Set: Fixed. Created 3 years, 10 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_thread_impl.cc ('k') | content/renderer/render_widget.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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 837
838 // Stores edit commands associated to the next key event. 838 // Stores edit commands associated to the next key event.
839 // Will be cleared as soon as the next key event is processed. 839 // Will be cleared as soon as the next key event is processed.
840 EditCommands edit_commands_; 840 EditCommands edit_commands_;
841 841
842 // This field stores drag/drop related info for the event that is currently 842 // This field stores drag/drop related info for the event that is currently
843 // being handled. If the current event results in starting a drag/drop 843 // being handled. If the current event results in starting a drag/drop
844 // session, this info is sent to the browser along with other drag/drop info. 844 // session, this info is sent to the browser along with other drag/drop info.
845 DragEventSourceInfo possible_drag_event_info_; 845 DragEventSourceInfo possible_drag_event_info_;
846 846
847 bool time_to_first_active_paint_recorded_;
848 base::TimeTicks was_shown_time_;
849
847 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 850 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
848 851
849 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 852 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
850 }; 853 };
851 854
852 } // namespace content 855 } // namespace content
853 856
854 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 857 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698