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 16 matching lines...) Expand all Loading... |
27 #include "content/browser/renderer_host/render_view_host_delegate.h" | 27 #include "content/browser/renderer_host/render_view_host_delegate.h" |
28 #include "content/browser/renderer_host/render_view_host_observer.h" | 28 #include "content/browser/renderer_host/render_view_host_observer.h" |
29 #include "content/browser/renderer_host/render_widget_host.h" | 29 #include "content/browser/renderer_host/render_widget_host.h" |
30 #include "content/browser/renderer_host/render_widget_host_view.h" | 30 #include "content/browser/renderer_host/render_widget_host_view.h" |
31 #include "content/browser/site_instance.h" | 31 #include "content/browser/site_instance.h" |
32 #include "content/browser/user_metrics.h" | 32 #include "content/browser/user_metrics.h" |
33 #include "content/common/content_constants.h" | 33 #include "content/common/content_constants.h" |
34 #include "content/common/desktop_notification_messages.h" | 34 #include "content/common/desktop_notification_messages.h" |
35 #include "content/common/drag_messages.h" | 35 #include "content/common/drag_messages.h" |
36 #include "content/public/browser/notification_service.h" | 36 #include "content/public/browser/notification_service.h" |
37 #include "content/common/result_codes.h" | |
38 #include "content/common/speech_input_messages.h" | 37 #include "content/common/speech_input_messages.h" |
39 #include "content/common/swapped_out_messages.h" | 38 #include "content/common/swapped_out_messages.h" |
40 #include "content/common/view_messages.h" | 39 #include "content/common/view_messages.h" |
41 #include "content/public/browser/content_browser_client.h" | 40 #include "content/public/browser/content_browser_client.h" |
42 #include "content/public/browser/native_web_keyboard_event.h" | 41 #include "content/public/browser/native_web_keyboard_event.h" |
43 #include "content/public/browser/notification_details.h" | 42 #include "content/public/browser/notification_details.h" |
44 #include "content/public/browser/notification_types.h" | 43 #include "content/public/browser/notification_types.h" |
45 #include "content/public/common/bindings_policy.h" | 44 #include "content/public/common/bindings_policy.h" |
| 45 #include "content/public/common/result_codes.h" |
46 #include "content/public/common/url_constants.h" | 46 #include "content/public/common/url_constants.h" |
47 #include "net/base/net_util.h" | 47 #include "net/base/net_util.h" |
48 #include "net/url_request/url_request_context_getter.h" | 48 #include "net/url_request/url_request_context_getter.h" |
49 #include "third_party/skia/include/core/SkBitmap.h" | 49 #include "third_party/skia/include/core/SkBitmap.h" |
50 #include "ui/gfx/native_widget_types.h" | 50 #include "ui/gfx/native_widget_types.h" |
51 #include "webkit/glue/context_menu.h" | 51 #include "webkit/glue/context_menu.h" |
52 #include "webkit/glue/webaccessibility.h" | 52 #include "webkit/glue/webaccessibility.h" |
53 #include "webkit/glue/webdropdata.h" | 53 #include "webkit/glue/webdropdata.h" |
54 | 54 |
55 using base::TimeDelta; | 55 using base::TimeDelta; |
(...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 | 1460 |
1461 void RenderViewHost::OnWebUISend(const GURL& source_url, | 1461 void RenderViewHost::OnWebUISend(const GURL& source_url, |
1462 const std::string& name, | 1462 const std::string& name, |
1463 const base::ListValue& args) { | 1463 const base::ListValue& args) { |
1464 delegate_->WebUISend(this, source_url, name, args); | 1464 delegate_->WebUISend(this, source_url, name, args); |
1465 } | 1465 } |
1466 | 1466 |
1467 void RenderViewHost::ClearPowerSaveBlockers() { | 1467 void RenderViewHost::ClearPowerSaveBlockers() { |
1468 STLDeleteValues(&power_save_blockers_); | 1468 STLDeleteValues(&power_save_blockers_); |
1469 } | 1469 } |
OLD | NEW |