| 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 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1570 | 1570 |
| 1571 void RenderViewHostImpl::DisableAutoResize(const gfx::Size& new_size) { | 1571 void RenderViewHostImpl::DisableAutoResize(const gfx::Size& new_size) { |
| 1572 SetShouldAutoResize(false); | 1572 SetShouldAutoResize(false); |
| 1573 Send(new ViewMsg_DisableAutoResize(GetRoutingID(), new_size)); | 1573 Send(new ViewMsg_DisableAutoResize(GetRoutingID(), new_size)); |
| 1574 } | 1574 } |
| 1575 | 1575 |
| 1576 void RenderViewHostImpl::CopyImageAt(int x, int y) { | 1576 void RenderViewHostImpl::CopyImageAt(int x, int y) { |
| 1577 Send(new ViewMsg_CopyImageAt(GetRoutingID(), x, y)); | 1577 Send(new ViewMsg_CopyImageAt(GetRoutingID(), x, y)); |
| 1578 } | 1578 } |
| 1579 | 1579 |
| 1580 void RenderViewHostImpl::SaveImageAt(int x, int y) { |
| 1581 Send(new ViewMsg_SaveImageAt(GetRoutingID(), x, y)); |
| 1582 } |
| 1583 |
| 1580 void RenderViewHostImpl::ExecuteMediaPlayerActionAtLocation( | 1584 void RenderViewHostImpl::ExecuteMediaPlayerActionAtLocation( |
| 1581 const gfx::Point& location, const blink::WebMediaPlayerAction& action) { | 1585 const gfx::Point& location, const blink::WebMediaPlayerAction& action) { |
| 1582 Send(new ViewMsg_MediaPlayerActionAt(GetRoutingID(), location, action)); | 1586 Send(new ViewMsg_MediaPlayerActionAt(GetRoutingID(), location, action)); |
| 1583 } | 1587 } |
| 1584 | 1588 |
| 1585 void RenderViewHostImpl::ExecutePluginActionAtLocation( | 1589 void RenderViewHostImpl::ExecutePluginActionAtLocation( |
| 1586 const gfx::Point& location, const blink::WebPluginAction& action) { | 1590 const gfx::Point& location, const blink::WebPluginAction& action) { |
| 1587 Send(new ViewMsg_PluginActionAt(GetRoutingID(), location, action)); | 1591 Send(new ViewMsg_PluginActionAt(GetRoutingID(), location, action)); |
| 1588 } | 1592 } |
| 1589 | 1593 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1737 return true; | 1741 return true; |
| 1738 } | 1742 } |
| 1739 | 1743 |
| 1740 void RenderViewHostImpl::AttachToFrameTree() { | 1744 void RenderViewHostImpl::AttachToFrameTree() { |
| 1741 FrameTree* frame_tree = delegate_->GetFrameTree(); | 1745 FrameTree* frame_tree = delegate_->GetFrameTree(); |
| 1742 | 1746 |
| 1743 frame_tree->ResetForMainFrameSwap(); | 1747 frame_tree->ResetForMainFrameSwap(); |
| 1744 } | 1748 } |
| 1745 | 1749 |
| 1746 } // namespace content | 1750 } // namespace content |
| OLD | NEW |