Chromium Code Reviews

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Removing the CHECK used to find test coverage [found in LaunchWebAuthFlowFunctionTest]. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
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 6613 matching lines...)
6624 this, &override_state)) 6624 this, &override_state))
6625 return override_state; 6625 return override_state;
6626 return current_state; 6626 return current_state;
6627 } 6627 }
6628 6628
6629 std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() { 6629 std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() {
6630 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. 6630 // TODO(yhirano): Stop using Platform::CreateURLLoader() here.
6631 return blink::Platform::Current()->CreateURLLoader(); 6631 return blink::Platform::Current()->CreateURLLoader();
6632 } 6632 }
6633 6633
6634 void RenderFrameImpl::DraggableRegionsChanged() {
6635 for (auto& observer : observers_)
6636 observer.DraggableRegionsChanged();
6637 }
6638
6634 blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const { 6639 blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const {
6635 return VisibilityState(); 6640 return VisibilityState();
6636 } 6641 }
6637 6642
6638 bool RenderFrameImpl::IsBrowserSideNavigationPending() { 6643 bool RenderFrameImpl::IsBrowserSideNavigationPending() {
6639 return browser_side_navigation_pending_; 6644 return browser_side_navigation_pending_;
6640 } 6645 }
6641 6646
6642 base::SingleThreadTaskRunner* RenderFrameImpl::GetTimerTaskRunner() { 6647 base::SingleThreadTaskRunner* RenderFrameImpl::GetTimerTaskRunner() {
6643 return GetWebFrame()->TimerTaskRunner(); 6648 return GetWebFrame()->TimerTaskRunner();
(...skipping 151 matching lines...)
6795 policy(info.default_policy), 6800 policy(info.default_policy),
6796 replaces_current_history_item(info.replaces_current_history_item), 6801 replaces_current_history_item(info.replaces_current_history_item),
6797 history_navigation_in_new_child_frame( 6802 history_navigation_in_new_child_frame(
6798 info.is_history_navigation_in_new_child_frame), 6803 info.is_history_navigation_in_new_child_frame),
6799 client_redirect(info.is_client_redirect), 6804 client_redirect(info.is_client_redirect),
6800 cache_disabled(info.is_cache_disabled), 6805 cache_disabled(info.is_cache_disabled),
6801 form(info.form), 6806 form(info.form),
6802 source_location(info.source_location) {} 6807 source_location(info.source_location) {}
6803 6808
6804 } // namespace content 6809 } // namespace content
OLDNEW

Powered by Google App Engine