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

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

Issue 8616004: Fixed Task Manager FPS so that it shows 0 instead of 60 for background pages. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 using WebKit::WebWidget; 67 using WebKit::WebWidget;
68 using content::RenderThread; 68 using content::RenderThread;
69 69
70 RenderWidget::RenderWidget(WebKit::WebPopupType popup_type) 70 RenderWidget::RenderWidget(WebKit::WebPopupType popup_type)
71 : routing_id_(MSG_ROUTING_NONE), 71 : routing_id_(MSG_ROUTING_NONE),
72 webwidget_(NULL), 72 webwidget_(NULL),
73 opener_id_(MSG_ROUTING_NONE), 73 opener_id_(MSG_ROUTING_NONE),
74 host_window_(0), 74 host_window_(0),
75 current_paint_buf_(NULL), 75 current_paint_buf_(NULL),
76 next_paint_flags_(0), 76 next_paint_flags_(0),
77 filtered_time_per_frame_(1.0f/60.0f), 77 filtered_time_per_frame_(0.0f),
78 update_reply_pending_(false), 78 update_reply_pending_(false),
79 using_asynchronous_swapbuffers_(false), 79 using_asynchronous_swapbuffers_(false),
80 num_swapbuffers_complete_pending_(0), 80 num_swapbuffers_complete_pending_(0),
81 did_show_(false), 81 did_show_(false),
82 is_hidden_(false), 82 is_hidden_(false),
83 is_fullscreen_(false), 83 is_fullscreen_(false),
84 needs_repainting_on_restore_(false), 84 needs_repainting_on_restore_(false),
85 has_focus_(false), 85 has_focus_(false),
86 handling_input_event_(false), 86 handling_input_event_(false),
87 closing_(false), 87 closing_(false),
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 } 1499 }
1500 } 1500 }
1501 1501
1502 bool RenderWidget::WillHandleMouseEvent(const WebKit::WebMouseEvent& event) { 1502 bool RenderWidget::WillHandleMouseEvent(const WebKit::WebMouseEvent& event) {
1503 return false; 1503 return false;
1504 } 1504 }
1505 1505
1506 bool RenderWidget::WebWidgetHandlesCompositorScheduling() const { 1506 bool RenderWidget::WebWidgetHandlesCompositorScheduling() const {
1507 return false; 1507 return false;
1508 } 1508 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698