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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1489 params.item_height, | 1489 params.item_height, |
1490 params.item_font_size, | 1490 params.item_font_size, |
1491 params.selected_item, | 1491 params.selected_item, |
1492 params.popup_items, | 1492 params.popup_items, |
1493 params.right_aligned); | 1493 params.right_aligned); |
1494 } | 1494 } |
1495 } | 1495 } |
1496 #endif | 1496 #endif |
1497 | 1497 |
1498 void RenderViewHost::OnRunFileChooser( | 1498 void RenderViewHost::OnRunFileChooser( |
1499 const ViewHostMsg_RunFileChooser_Params& params) { | 1499 const content::FileChooserParams& params) { |
1500 delegate_->RunFileChooser(this, params); | 1500 delegate_->RunFileChooser(this, params); |
1501 } | 1501 } |
1502 | 1502 |
1503 void RenderViewHost::OnWebUISend(const GURL& source_url, | 1503 void RenderViewHost::OnWebUISend(const GURL& source_url, |
1504 const std::string& name, | 1504 const std::string& name, |
1505 const base::ListValue& args) { | 1505 const base::ListValue& args) { |
1506 delegate_->WebUISend(this, source_url, name, args); | 1506 delegate_->WebUISend(this, source_url, name, args); |
1507 } | 1507 } |
1508 | 1508 |
1509 void RenderViewHost::ClearPowerSaveBlockers() { | 1509 void RenderViewHost::ClearPowerSaveBlockers() { |
1510 STLDeleteValues(&power_save_blockers_); | 1510 STLDeleteValues(&power_save_blockers_); |
1511 } | 1511 } |
OLD | NEW |