| 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/renderer_host/render_view_host_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1456 | 1456 |
| 1457 void RenderViewHostImpl::NotifyRendererUnresponsive() { | 1457 void RenderViewHostImpl::NotifyRendererUnresponsive() { |
| 1458 delegate_->RendererUnresponsive( | 1458 delegate_->RendererUnresponsive( |
| 1459 this, is_waiting_for_beforeunload_ack_ || is_waiting_for_unload_ack_); | 1459 this, is_waiting_for_beforeunload_ack_ || is_waiting_for_unload_ack_); |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 void RenderViewHostImpl::NotifyRendererResponsive() { | 1462 void RenderViewHostImpl::NotifyRendererResponsive() { |
| 1463 delegate_->RendererResponsive(this); | 1463 delegate_->RendererResponsive(this); |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 void RenderViewHostImpl::RequestToLockMouse() { | 1466 void RenderViewHostImpl::RequestToLockMouse(bool user_gesture) { |
| 1467 delegate_->RequestToLockMouse(); | 1467 delegate_->RequestToLockMouse(user_gesture); |
| 1468 } | 1468 } |
| 1469 | 1469 |
| 1470 bool RenderViewHostImpl::IsFullscreen() const { | 1470 bool RenderViewHostImpl::IsFullscreen() const { |
| 1471 return delegate_->IsFullscreenForCurrentTab(); | 1471 return delegate_->IsFullscreenForCurrentTab(); |
| 1472 } | 1472 } |
| 1473 | 1473 |
| 1474 void RenderViewHostImpl::OnMsgFocus() { | 1474 void RenderViewHostImpl::OnMsgFocus() { |
| 1475 delegate_->Activate(); | 1475 delegate_->Activate(); |
| 1476 } | 1476 } |
| 1477 | 1477 |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1821 is_waiting_for_beforeunload_ack_ = false; | 1821 is_waiting_for_beforeunload_ack_ = false; |
| 1822 is_waiting_for_unload_ack_ = false; | 1822 is_waiting_for_unload_ack_ = false; |
| 1823 has_timed_out_on_unload_ = false; | 1823 has_timed_out_on_unload_ = false; |
| 1824 } | 1824 } |
| 1825 | 1825 |
| 1826 void RenderViewHostImpl::ClearPowerSaveBlockers() { | 1826 void RenderViewHostImpl::ClearPowerSaveBlockers() { |
| 1827 STLDeleteValues(&power_save_blockers_); | 1827 STLDeleteValues(&power_save_blockers_); |
| 1828 } | 1828 } |
| 1829 | 1829 |
| 1830 } // namespace content | 1830 } // namespace content |
| OLD | NEW |