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_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 send_preferred_size_changes_(false), | 320 send_preferred_size_changes_(false), |
321 is_loading_(false), | 321 is_loading_(false), |
322 navigation_gesture_(NavigationGestureUnknown), | 322 navigation_gesture_(NavigationGestureUnknown), |
323 opened_by_user_gesture_(true), | 323 opened_by_user_gesture_(true), |
324 opener_suppressed_(false), | 324 opener_suppressed_(false), |
325 page_id_(-1), | 325 page_id_(-1), |
326 last_page_id_sent_to_browser_(-1), | 326 last_page_id_sent_to_browser_(-1), |
327 history_list_offset_(-1), | 327 history_list_offset_(-1), |
328 history_list_length_(0), | 328 history_list_length_(0), |
329 target_url_status_(TARGET_NONE), | 329 target_url_status_(TARGET_NONE), |
| 330 selection_text_offset_(0), |
330 cached_is_main_frame_pinned_to_left_(false), | 331 cached_is_main_frame_pinned_to_left_(false), |
331 cached_is_main_frame_pinned_to_right_(false), | 332 cached_is_main_frame_pinned_to_right_(false), |
332 cached_has_main_frame_horizontal_scrollbar_(false), | 333 cached_has_main_frame_horizontal_scrollbar_(false), |
333 cached_has_main_frame_vertical_scrollbar_(false), | 334 cached_has_main_frame_vertical_scrollbar_(false), |
334 ALLOW_THIS_IN_INITIALIZER_LIST(pepper_delegate_(this)), | 335 ALLOW_THIS_IN_INITIALIZER_LIST(pepper_delegate_(this)), |
335 #if defined(OS_WIN) | 336 #if defined(OS_WIN) |
336 focused_plugin_id_(-1), | 337 focused_plugin_id_(-1), |
337 #endif | 338 #endif |
338 ALLOW_THIS_IN_INITIALIZER_LIST(cookie_jar_(this)), | 339 ALLOW_THIS_IN_INITIALIZER_LIST(cookie_jar_(this)), |
339 geolocation_dispatcher_(NULL), | 340 geolocation_dispatcher_(NULL), |
(...skipping 4311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4651 | 4652 |
4652 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 4653 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
4653 return webview()->settings()->useThreadedCompositor(); | 4654 return webview()->settings()->useThreadedCompositor(); |
4654 } | 4655 } |
4655 | 4656 |
4656 void RenderViewImpl::OnJavaBridgeInit( | 4657 void RenderViewImpl::OnJavaBridgeInit( |
4657 const IPC::ChannelHandle& channel_handle) { | 4658 const IPC::ChannelHandle& channel_handle) { |
4658 DCHECK(!java_bridge_dispatcher_.get()); | 4659 DCHECK(!java_bridge_dispatcher_.get()); |
4659 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this, channel_handle)); | 4660 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this, channel_handle)); |
4660 } | 4661 } |
OLD | NEW |