Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

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

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Addressed CR feedback from rdevlin.cronin@. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6634 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698