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 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 *url = GURL(); | 1302 *url = GURL(); |
1303 } | 1303 } |
1304 } | 1304 } |
1305 | 1305 |
1306 void RenderViewHost::SetAltErrorPageURL(const GURL& url) { | 1306 void RenderViewHost::SetAltErrorPageURL(const GURL& url) { |
1307 Send(new ViewMsg_SetAltErrorPageURL(routing_id(), url)); | 1307 Send(new ViewMsg_SetAltErrorPageURL(routing_id(), url)); |
1308 } | 1308 } |
1309 | 1309 |
1310 void RenderViewHost::ExitFullscreen() { | 1310 void RenderViewHost::ExitFullscreen() { |
1311 RejectMouseLockOrUnlockIfNecessary(); | 1311 RejectMouseLockOrUnlockIfNecessary(); |
1312 | |
1313 Send(new ViewMsg_ExitFullscreen(routing_id())); | |
1314 } | 1312 } |
1315 | 1313 |
1316 void RenderViewHost::UpdateWebkitPreferences(const WebPreferences& prefs) { | 1314 void RenderViewHost::UpdateWebkitPreferences(const WebPreferences& prefs) { |
1317 Send(new ViewMsg_UpdateWebPreferences(routing_id(), prefs)); | 1315 Send(new ViewMsg_UpdateWebPreferences(routing_id(), prefs)); |
1318 } | 1316 } |
1319 | 1317 |
1320 void RenderViewHost::ClearFocusedNode() { | 1318 void RenderViewHost::ClearFocusedNode() { |
1321 Send(new ViewMsg_ClearFocusedNode(routing_id())); | 1319 Send(new ViewMsg_ClearFocusedNode(routing_id())); |
1322 } | 1320 } |
1323 | 1321 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1521 | 1519 |
1522 void RenderViewHost::OnWebUISend(const GURL& source_url, | 1520 void RenderViewHost::OnWebUISend(const GURL& source_url, |
1523 const std::string& name, | 1521 const std::string& name, |
1524 const base::ListValue& args) { | 1522 const base::ListValue& args) { |
1525 delegate_->WebUISend(this, source_url, name, args); | 1523 delegate_->WebUISend(this, source_url, name, args); |
1526 } | 1524 } |
1527 | 1525 |
1528 void RenderViewHost::ClearPowerSaveBlockers() { | 1526 void RenderViewHost::ClearPowerSaveBlockers() { |
1529 STLDeleteValues(&power_save_blockers_); | 1527 STLDeleteValues(&power_save_blockers_); |
1530 } | 1528 } |
OLD | NEW |