| 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 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
| 13 #include "base/json/json_reader.h" | 13 #include "base/json/json_reader.h" |
| 14 #include "base/message_loop.h" |
| 14 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
| 15 #include "base/string_util.h" | 16 #include "base/string_util.h" |
| 16 #include "base/time.h" | 17 #include "base/time.h" |
| 17 #include "base/utf_string_conversions.h" | 18 #include "base/utf_string_conversions.h" |
| 18 #include "base/values.h" | 19 #include "base/values.h" |
| 19 #include "content/browser/browser_context.h" | 20 #include "content/browser/browser_context.h" |
| 20 #include "content/browser/browser_message_filter.h" | 21 #include "content/browser/browser_message_filter.h" |
| 21 #include "content/browser/child_process_security_policy.h" | 22 #include "content/browser/child_process_security_policy.h" |
| 22 #include "content/browser/cross_site_request_manager.h" | 23 #include "content/browser/cross_site_request_manager.h" |
| 23 #include "content/browser/host_zoom_map.h" | 24 #include "content/browser/host_zoom_map.h" |
| (...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1497 | 1498 |
| 1498 void RenderViewHost::OnWebUISend(const GURL& source_url, | 1499 void RenderViewHost::OnWebUISend(const GURL& source_url, |
| 1499 const std::string& name, | 1500 const std::string& name, |
| 1500 const base::ListValue& args) { | 1501 const base::ListValue& args) { |
| 1501 delegate_->WebUISend(this, source_url, name, args); | 1502 delegate_->WebUISend(this, source_url, name, args); |
| 1502 } | 1503 } |
| 1503 | 1504 |
| 1504 void RenderViewHost::ClearPowerSaveBlockers() { | 1505 void RenderViewHost::ClearPowerSaveBlockers() { |
| 1505 STLDeleteValues(&power_save_blockers_); | 1506 STLDeleteValues(&power_save_blockers_); |
| 1506 } | 1507 } |
| OLD | NEW |