| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/renderer/render_view.h" | 5 #include "chrome/renderer/render_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #include "third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.h" | 84 #include "third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.h" |
| 85 #include "third_party/skia/include/core/SkBitmap.h" | 85 #include "third_party/skia/include/core/SkBitmap.h" |
| 86 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityCache.h" | 86 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityCache.h" |
| 87 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h" | 87 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h" |
| 88 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h" | 88 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h" |
| 89 #include "third_party/WebKit/WebKit/chromium/public/WebDataSource.h" | 89 #include "third_party/WebKit/WebKit/chromium/public/WebDataSource.h" |
| 90 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h" | 90 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h" |
| 91 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h" | 91 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h" |
| 92 #include "third_party/WebKit/WebKit/chromium/public/WebDragData.h" | 92 #include "third_party/WebKit/WebKit/chromium/public/WebDragData.h" |
| 93 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserParams.h" | 93 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserParams.h" |
| 94 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" |
| 94 #include "third_party/WebKit/WebKit/chromium/public/WebFormControlElement.h" | 95 #include "third_party/WebKit/WebKit/chromium/public/WebFormControlElement.h" |
| 95 #include "third_party/WebKit/WebKit/chromium/public/WebFormElement.h" | 96 #include "third_party/WebKit/WebKit/chromium/public/WebFormElement.h" |
| 96 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" | 97 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" |
| 97 #include "third_party/WebKit/WebKit/chromium/public/WebHistoryItem.h" | 98 #include "third_party/WebKit/WebKit/chromium/public/WebHistoryItem.h" |
| 98 #include "third_party/WebKit/WebKit/chromium/public/WebImage.h" | 99 #include "third_party/WebKit/WebKit/chromium/public/WebImage.h" |
| 99 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" | 100 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" |
| 100 #include "third_party/WebKit/WebKit/chromium/public/WebNode.h" | 101 #include "third_party/WebKit/WebKit/chromium/public/WebNode.h" |
| 101 #include "third_party/WebKit/WebKit/chromium/public/WebNodeList.h" | 102 #include "third_party/WebKit/WebKit/chromium/public/WebNodeList.h" |
| 102 #include "third_party/WebKit/WebKit/chromium/public/WebPageSerializer.h" | 103 #include "third_party/WebKit/WebKit/chromium/public/WebPageSerializer.h" |
| 103 #include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h" | 104 #include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 133 #include "webkit/glue/media/video_renderer_impl.h" | 134 #include "webkit/glue/media/video_renderer_impl.h" |
| 134 #include "webkit/glue/password_form_dom_manager.h" | 135 #include "webkit/glue/password_form_dom_manager.h" |
| 135 #include "webkit/glue/plugins/default_plugin_shared.h" | 136 #include "webkit/glue/plugins/default_plugin_shared.h" |
| 136 #include "webkit/glue/plugins/pepper_webplugin_impl.h" | 137 #include "webkit/glue/plugins/pepper_webplugin_impl.h" |
| 137 #include "webkit/glue/plugins/plugin_list.h" | 138 #include "webkit/glue/plugins/plugin_list.h" |
| 138 #include "webkit/glue/plugins/webplugin_delegate.h" | 139 #include "webkit/glue/plugins/webplugin_delegate.h" |
| 139 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 140 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
| 140 #include "webkit/glue/plugins/webplugin_impl.h" | 141 #include "webkit/glue/plugins/webplugin_impl.h" |
| 141 #include "webkit/glue/plugins/webview_plugin.h" | 142 #include "webkit/glue/plugins/webview_plugin.h" |
| 142 #include "webkit/glue/site_isolation_metrics.h" | 143 #include "webkit/glue/site_isolation_metrics.h" |
| 144 #include "webkit/glue/webaccessibility.h" |
| 143 #include "webkit/glue/webdropdata.h" | 145 #include "webkit/glue/webdropdata.h" |
| 144 #include "webkit/glue/webkit_glue.h" | 146 #include "webkit/glue/webkit_glue.h" |
| 145 #include "webkit/glue/webmediaplayer_impl.h" | 147 #include "webkit/glue/webmediaplayer_impl.h" |
| 146 | 148 |
| 147 #if defined(OS_WIN) | 149 #if defined(OS_WIN) |
| 148 // TODO(port): these files are currently Windows only because they concern: | 150 // TODO(port): these files are currently Windows only because they concern: |
| 149 // * theming | 151 // * theming |
| 150 #include "gfx/native_theme_win.h" | 152 #include "gfx/native_theme_win.h" |
| 151 #elif defined(USE_X11) | 153 #elif defined(USE_X11) |
| 152 #include "third_party/WebKit/WebKit/chromium/public/linux/WebRenderTheme.h" | 154 #include "third_party/WebKit/WebKit/chromium/public/linux/WebRenderTheme.h" |
| (...skipping 5161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5314 // the origins of the two domains are different. This can be treated as a | 5316 // the origins of the two domains are different. This can be treated as a |
| 5315 // top level navigation and routed back to the host. | 5317 // top level navigation and routed back to the host. |
| 5316 WebKit::WebFrame* opener = frame->opener(); | 5318 WebKit::WebFrame* opener = frame->opener(); |
| 5317 if (opener) { | 5319 if (opener) { |
| 5318 if (url.GetOrigin() != GURL(opener->url()).GetOrigin()) | 5320 if (url.GetOrigin() != GURL(opener->url()).GetOrigin()) |
| 5319 return true; | 5321 return true; |
| 5320 } | 5322 } |
| 5321 } | 5323 } |
| 5322 return false; | 5324 return false; |
| 5323 } | 5325 } |
| OLD | NEW |