| 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/browser/web_contents/web_contents_impl.h" | 5 #include "content/browser/web_contents/web_contents_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 notify_disconnection_(false), | 321 notify_disconnection_(false), |
| 322 dialog_manager_(NULL), | 322 dialog_manager_(NULL), |
| 323 is_showing_before_unload_dialog_(false), | 323 is_showing_before_unload_dialog_(false), |
| 324 last_active_time_(base::TimeTicks::Now()), | 324 last_active_time_(base::TimeTicks::Now()), |
| 325 closed_by_user_gesture_(false), | 325 closed_by_user_gesture_(false), |
| 326 minimum_zoom_percent_(static_cast<int>(kMinimumZoomFactor * 100)), | 326 minimum_zoom_percent_(static_cast<int>(kMinimumZoomFactor * 100)), |
| 327 maximum_zoom_percent_(static_cast<int>(kMaximumZoomFactor * 100)), | 327 maximum_zoom_percent_(static_cast<int>(kMaximumZoomFactor * 100)), |
| 328 totalPinchGestureAmount_(0), | 328 totalPinchGestureAmount_(0), |
| 329 currentPinchZoomStepDelta_(0), | 329 currentPinchZoomStepDelta_(0), |
| 330 render_view_message_source_(NULL), | 330 render_view_message_source_(NULL), |
| 331 render_frame_message_source_(NULL), |
| 331 fullscreen_widget_routing_id_(MSG_ROUTING_NONE), | 332 fullscreen_widget_routing_id_(MSG_ROUTING_NONE), |
| 332 fullscreen_widget_had_focus_at_shutdown_(false), | 333 fullscreen_widget_had_focus_at_shutdown_(false), |
| 333 is_subframe_(false), | 334 is_subframe_(false), |
| 334 force_disable_overscroll_content_(false), | 335 force_disable_overscroll_content_(false), |
| 335 last_dialog_suppressed_(false), | 336 last_dialog_suppressed_(false), |
| 336 geolocation_service_context_(new GeolocationServiceContext()), | 337 geolocation_service_context_(new GeolocationServiceContext()), |
| 337 accessibility_mode_( | 338 accessibility_mode_( |
| 338 BrowserAccessibilityStateImpl::GetInstance()->accessibility_mode()), | 339 BrowserAccessibilityStateImpl::GetInstance()->accessibility_mode()), |
| 339 audio_stream_monitor_(this), | 340 audio_stream_monitor_(this), |
| 340 virtual_keyboard_requested_(false), | 341 virtual_keyboard_requested_(false), |
| (...skipping 4109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4450 node->render_manager()->ResumeResponseDeferredAtStart(); | 4451 node->render_manager()->ResumeResponseDeferredAtStart(); |
| 4451 } | 4452 } |
| 4452 | 4453 |
| 4453 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { | 4454 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { |
| 4454 force_disable_overscroll_content_ = force_disable; | 4455 force_disable_overscroll_content_ = force_disable; |
| 4455 if (view_) | 4456 if (view_) |
| 4456 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); | 4457 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); |
| 4457 } | 4458 } |
| 4458 | 4459 |
| 4459 } // namespace content | 4460 } // namespace content |
| OLD | NEW |