| OLD | NEW |
| 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 #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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 surface_id_(0), | 132 surface_id_(0), |
| 133 webwidget_(NULL), | 133 webwidget_(NULL), |
| 134 opener_id_(MSG_ROUTING_NONE), | 134 opener_id_(MSG_ROUTING_NONE), |
| 135 init_complete_(false), | 135 init_complete_(false), |
| 136 current_paint_buf_(NULL), | 136 current_paint_buf_(NULL), |
| 137 next_paint_flags_(0), | 137 next_paint_flags_(0), |
| 138 filtered_time_per_frame_(0.0f), | 138 filtered_time_per_frame_(0.0f), |
| 139 update_reply_pending_(false), | 139 update_reply_pending_(false), |
| 140 need_update_rect_for_auto_resize_(false), | 140 need_update_rect_for_auto_resize_(false), |
| 141 using_asynchronous_swapbuffers_(false), | 141 using_asynchronous_swapbuffers_(false), |
| 142 allow_partial_swap_(true), |
| 142 num_swapbuffers_complete_pending_(0), | 143 num_swapbuffers_complete_pending_(0), |
| 143 did_show_(false), | 144 did_show_(false), |
| 144 is_hidden_(false), | 145 is_hidden_(false), |
| 145 is_fullscreen_(false), | 146 is_fullscreen_(false), |
| 146 needs_repainting_on_restore_(false), | 147 needs_repainting_on_restore_(false), |
| 147 has_focus_(false), | 148 has_focus_(false), |
| 148 handling_input_event_(false), | 149 handling_input_event_(false), |
| 149 handling_ime_event_(false), | 150 handling_ime_event_(false), |
| 150 closing_(false), | 151 closing_(false), |
| 151 is_swapped_out_(swapped_out), | 152 is_swapped_out_(swapped_out), |
| (...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2155 bool RenderWidget::WillHandleGestureEvent( | 2156 bool RenderWidget::WillHandleGestureEvent( |
| 2156 const WebKit::WebGestureEvent& event) { | 2157 const WebKit::WebGestureEvent& event) { |
| 2157 return false; | 2158 return false; |
| 2158 } | 2159 } |
| 2159 | 2160 |
| 2160 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const { | 2161 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const { |
| 2161 return true; | 2162 return true; |
| 2162 } | 2163 } |
| 2163 | 2164 |
| 2164 } // namespace content | 2165 } // namespace content |
| OLD | NEW |