OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 5 #include "content/browser/renderer_host/render_view_host.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 | 1368 |
1369 void RenderViewHost::CopyImageAt(int x, int y) { | 1369 void RenderViewHost::CopyImageAt(int x, int y) { |
1370 Send(new ViewMsg_CopyImageAt(routing_id(), x, y)); | 1370 Send(new ViewMsg_CopyImageAt(routing_id(), x, y)); |
1371 } | 1371 } |
1372 | 1372 |
1373 void RenderViewHost::ExecuteMediaPlayerActionAtLocation( | 1373 void RenderViewHost::ExecuteMediaPlayerActionAtLocation( |
1374 const gfx::Point& location, const WebKit::WebMediaPlayerAction& action) { | 1374 const gfx::Point& location, const WebKit::WebMediaPlayerAction& action) { |
1375 Send(new ViewMsg_MediaPlayerActionAt(routing_id(), location, action)); | 1375 Send(new ViewMsg_MediaPlayerActionAt(routing_id(), location, action)); |
1376 } | 1376 } |
1377 | 1377 |
| 1378 void RenderViewHost::ExecutePluginAction( |
| 1379 const WebKit::WebPluginAction& action) { |
| 1380 Send(new ViewMsg_PluginAction(routing_id(), action)); |
| 1381 } |
| 1382 |
1378 void RenderViewHost::DisassociateFromPopupCount() { | 1383 void RenderViewHost::DisassociateFromPopupCount() { |
1379 Send(new ViewMsg_DisassociateFromPopupCount(routing_id())); | 1384 Send(new ViewMsg_DisassociateFromPopupCount(routing_id())); |
1380 } | 1385 } |
1381 | 1386 |
1382 void RenderViewHost::NotifyMoveOrResizeStarted() { | 1387 void RenderViewHost::NotifyMoveOrResizeStarted() { |
1383 Send(new ViewMsg_MoveOrResizeStarted(routing_id())); | 1388 Send(new ViewMsg_MoveOrResizeStarted(routing_id())); |
1384 } | 1389 } |
1385 | 1390 |
1386 void RenderViewHost::StopFinding(content::StopFindAction action) { | 1391 void RenderViewHost::StopFinding(content::StopFindAction action) { |
1387 Send(new ViewMsg_StopFinding(routing_id(), action)); | 1392 Send(new ViewMsg_StopFinding(routing_id(), action)); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 | 1528 |
1524 void RenderViewHost::OnWebUISend(const GURL& source_url, | 1529 void RenderViewHost::OnWebUISend(const GURL& source_url, |
1525 const std::string& name, | 1530 const std::string& name, |
1526 const base::ListValue& args) { | 1531 const base::ListValue& args) { |
1527 delegate_->WebUISend(this, source_url, name, args); | 1532 delegate_->WebUISend(this, source_url, name, args); |
1528 } | 1533 } |
1529 | 1534 |
1530 void RenderViewHost::ClearPowerSaveBlockers() { | 1535 void RenderViewHost::ClearPowerSaveBlockers() { |
1531 STLDeleteValues(&power_save_blockers_); | 1536 STLDeleteValues(&power_save_blockers_); |
1532 } | 1537 } |
OLD | NEW |