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 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1837 Send(new ViewMsg_TimezoneChange(GetRoutingID())); | 1837 Send(new ViewMsg_TimezoneChange(GetRoutingID())); |
1838 } | 1838 } |
1839 | 1839 |
1840 void RenderViewHostImpl::GetAudioOutputControllers( | 1840 void RenderViewHostImpl::GetAudioOutputControllers( |
1841 const GetAudioOutputControllersCallback& callback) const { | 1841 const GetAudioOutputControllersCallback& callback) const { |
1842 AudioRendererHost* audio_host = | 1842 AudioRendererHost* audio_host = |
1843 static_cast<RenderProcessHostImpl*>(GetProcess())->audio_renderer_host(); | 1843 static_cast<RenderProcessHostImpl*>(GetProcess())->audio_renderer_host(); |
1844 audio_host->GetOutputControllers(GetRoutingID(), callback); | 1844 audio_host->GetOutputControllers(GetRoutingID(), callback); |
1845 } | 1845 } |
1846 | 1846 |
1847 void RenderViewHostImpl::ClearFocusedNode() { | 1847 void RenderViewHostImpl::ClearFocusedElement() { |
1848 Send(new ViewMsg_ClearFocusedNode(GetRoutingID())); | 1848 Send(new ViewMsg_ClearFocusedElement(GetRoutingID())); |
1849 } | 1849 } |
1850 | 1850 |
1851 void RenderViewHostImpl::Zoom(PageZoom zoom) { | 1851 void RenderViewHostImpl::Zoom(PageZoom zoom) { |
1852 Send(new ViewMsg_Zoom(GetRoutingID(), zoom)); | 1852 Send(new ViewMsg_Zoom(GetRoutingID(), zoom)); |
1853 } | 1853 } |
1854 | 1854 |
1855 void RenderViewHostImpl::ReloadFrame() { | 1855 void RenderViewHostImpl::ReloadFrame() { |
1856 Send(new ViewMsg_ReloadFrame(GetRoutingID())); | 1856 Send(new ViewMsg_ReloadFrame(GetRoutingID())); |
1857 } | 1857 } |
1858 | 1858 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2061 return true; | 2061 return true; |
2062 } | 2062 } |
2063 | 2063 |
2064 void RenderViewHostImpl::AttachToFrameTree() { | 2064 void RenderViewHostImpl::AttachToFrameTree() { |
2065 FrameTree* frame_tree = delegate_->GetFrameTree(); | 2065 FrameTree* frame_tree = delegate_->GetFrameTree(); |
2066 | 2066 |
2067 frame_tree->ResetForMainFrameSwap(); | 2067 frame_tree->ResetForMainFrameSwap(); |
2068 } | 2068 } |
2069 | 2069 |
2070 } // namespace content | 2070 } // namespace content |
OLD | NEW |