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

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

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: 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
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 6687 matching lines...) Expand 10 before | Expand all | Expand 10 after
6698 this, &override_state)) 6698 this, &override_state))
6699 return override_state; 6699 return override_state;
6700 return current_state; 6700 return current_state;
6701 } 6701 }
6702 6702
6703 std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() { 6703 std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() {
6704 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. 6704 // TODO(yhirano): Stop using Platform::CreateURLLoader() here.
6705 return blink::Platform::Current()->CreateURLLoader(); 6705 return blink::Platform::Current()->CreateURLLoader();
6706 } 6706 }
6707 6707
6708 std::unique_ptr<blink::WebMediaIPH> RenderFrameImpl::CreateMediaIPH() {
6709 return GetContentClient()->renderer()->CreateWebMediaIPH(this);
6710 }
6711
6708 void RenderFrameImpl::DraggableRegionsChanged() { 6712 void RenderFrameImpl::DraggableRegionsChanged() {
6709 for (auto& observer : observers_) 6713 for (auto& observer : observers_)
6710 observer.DraggableRegionsChanged(); 6714 observer.DraggableRegionsChanged();
6711 } 6715 }
6712 6716
6713 blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const { 6717 blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const {
6714 return VisibilityState(); 6718 return VisibilityState();
6715 } 6719 }
6716 6720
6717 bool RenderFrameImpl::IsBrowserSideNavigationPending() { 6721 bool RenderFrameImpl::IsBrowserSideNavigationPending() {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
6874 policy(info.default_policy), 6878 policy(info.default_policy),
6875 replaces_current_history_item(info.replaces_current_history_item), 6879 replaces_current_history_item(info.replaces_current_history_item),
6876 history_navigation_in_new_child_frame( 6880 history_navigation_in_new_child_frame(
6877 info.is_history_navigation_in_new_child_frame), 6881 info.is_history_navigation_in_new_child_frame),
6878 client_redirect(info.is_client_redirect), 6882 client_redirect(info.is_client_redirect),
6879 cache_disabled(info.is_cache_disabled), 6883 cache_disabled(info.is_cache_disabled),
6880 form(info.form), 6884 form(info.form),
6881 source_location(info.source_location) {} 6885 source_location(info.source_location) {}
6882 6886
6883 } // namespace content 6887 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698