OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_frame_impl.h" | 5 #include "content/renderer/render_frame_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 6634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6645 this, &override_state)) | 6645 this, &override_state)) |
6646 return override_state; | 6646 return override_state; |
6647 return current_state; | 6647 return current_state; |
6648 } | 6648 } |
6649 | 6649 |
6650 std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() { | 6650 std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() { |
6651 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. | 6651 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. |
6652 return blink::Platform::Current()->CreateURLLoader(); | 6652 return blink::Platform::Current()->CreateURLLoader(); |
6653 } | 6653 } |
6654 | 6654 |
| 6655 void RenderFrameImpl::DraggableRegionsChanged() { |
| 6656 for (auto& observer : observers_) |
| 6657 observer.DraggableRegionsChanged(); |
| 6658 } |
| 6659 |
6655 blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const { | 6660 blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const { |
6656 return VisibilityState(); | 6661 return VisibilityState(); |
6657 } | 6662 } |
6658 | 6663 |
6659 bool RenderFrameImpl::IsBrowserSideNavigationPending() { | 6664 bool RenderFrameImpl::IsBrowserSideNavigationPending() { |
6660 return browser_side_navigation_pending_; | 6665 return browser_side_navigation_pending_; |
6661 } | 6666 } |
6662 | 6667 |
6663 base::SingleThreadTaskRunner* RenderFrameImpl::GetTimerTaskRunner() { | 6668 base::SingleThreadTaskRunner* RenderFrameImpl::GetTimerTaskRunner() { |
6664 return GetWebFrame()->TimerTaskRunner(); | 6669 return GetWebFrame()->TimerTaskRunner(); |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6816 policy(info.default_policy), | 6821 policy(info.default_policy), |
6817 replaces_current_history_item(info.replaces_current_history_item), | 6822 replaces_current_history_item(info.replaces_current_history_item), |
6818 history_navigation_in_new_child_frame( | 6823 history_navigation_in_new_child_frame( |
6819 info.is_history_navigation_in_new_child_frame), | 6824 info.is_history_navigation_in_new_child_frame), |
6820 client_redirect(info.is_client_redirect), | 6825 client_redirect(info.is_client_redirect), |
6821 cache_disabled(info.is_cache_disabled), | 6826 cache_disabled(info.is_cache_disabled), |
6822 form(info.form), | 6827 form(info.form), |
6823 source_location(info.source_location) {} | 6828 source_location(info.source_location) {} |
6824 | 6829 |
6825 } // namespace content | 6830 } // namespace content |
OLD | NEW |