OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/web_contents/web_contents_impl.h" | 5 #include "content/browser/web_contents/web_contents_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 #include "content/public/browser/web_contents_delegate.h" | 74 #include "content/public/browser/web_contents_delegate.h" |
75 #include "content/public/browser/web_contents_observer.h" | 75 #include "content/public/browser/web_contents_observer.h" |
76 #include "content/public/browser/web_contents_view.h" | 76 #include "content/public/browser/web_contents_view.h" |
77 #include "content/public/common/bindings_policy.h" | 77 #include "content/public/common/bindings_policy.h" |
78 #include "content/public/common/content_constants.h" | 78 #include "content/public/common/content_constants.h" |
79 #include "content/public/common/content_switches.h" | 79 #include "content/public/common/content_switches.h" |
80 #include "content/public/common/page_zoom.h" | 80 #include "content/public/common/page_zoom.h" |
81 #include "content/public/common/result_codes.h" | 81 #include "content/public/common/result_codes.h" |
82 #include "content/public/common/url_constants.h" | 82 #include "content/public/common/url_constants.h" |
83 #include "content/public/common/url_utils.h" | 83 #include "content/public/common/url_utils.h" |
| 84 #include "content/public/common/webpreferences.h" |
84 #include "net/base/mime_util.h" | 85 #include "net/base/mime_util.h" |
85 #include "net/base/net_util.h" | 86 #include "net/base/net_util.h" |
86 #include "net/http/http_cache.h" | 87 #include "net/http/http_cache.h" |
87 #include "net/http/http_transaction_factory.h" | 88 #include "net/http/http_transaction_factory.h" |
88 #include "net/url_request/url_request_context.h" | 89 #include "net/url_request/url_request_context.h" |
89 #include "net/url_request/url_request_context_getter.h" | 90 #include "net/url_request/url_request_context_getter.h" |
90 #include "ui/base/layout.h" | 91 #include "ui/base/layout.h" |
91 #include "ui/gfx/display.h" | 92 #include "ui/gfx/display.h" |
92 #include "ui/gfx/screen.h" | 93 #include "ui/gfx/screen.h" |
93 #include "ui/gl/gl_switches.h" | 94 #include "ui/gl/gl_switches.h" |
94 #include "webkit/common/webpreferences.h" | |
95 | 95 |
96 #if defined(OS_ANDROID) | 96 #if defined(OS_ANDROID) |
97 #include "content/browser/android/date_time_chooser_android.h" | 97 #include "content/browser/android/date_time_chooser_android.h" |
98 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host_manager
.h" | 98 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host_manager
.h" |
99 #include "content/browser/web_contents/web_contents_android.h" | 99 #include "content/browser/web_contents/web_contents_android.h" |
100 #include "content/common/java_bridge_messages.h" | 100 #include "content/common/java_bridge_messages.h" |
101 #include "content/public/browser/android/content_view_core.h" | 101 #include "content/public/browser/android/content_view_core.h" |
102 #endif | 102 #endif |
103 | 103 |
104 #if defined(OS_MACOSX) | 104 #if defined(OS_MACOSX) |
(...skipping 3625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3730 } | 3730 } |
3731 | 3731 |
3732 void WebContentsImpl::OnFrameRemoved( | 3732 void WebContentsImpl::OnFrameRemoved( |
3733 RenderViewHostImpl* render_view_host, | 3733 RenderViewHostImpl* render_view_host, |
3734 int64 frame_id) { | 3734 int64 frame_id) { |
3735 FOR_EACH_OBSERVER(WebContentsObserver, observers_, | 3735 FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
3736 FrameDetached(render_view_host, frame_id)); | 3736 FrameDetached(render_view_host, frame_id)); |
3737 } | 3737 } |
3738 | 3738 |
3739 } // namespace content | 3739 } // namespace content |
OLD | NEW |