OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |