| 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/renderer_host/render_view_host_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "content/public/common/result_codes.h" | 60 #include "content/public/common/result_codes.h" |
| 61 #include "content/public/common/url_constants.h" | 61 #include "content/public/common/url_constants.h" |
| 62 #include "content/public/common/url_utils.h" | 62 #include "content/public/common/url_utils.h" |
| 63 #include "net/base/net_util.h" | 63 #include "net/base/net_util.h" |
| 64 #include "net/url_request/url_request_context_getter.h" | 64 #include "net/url_request/url_request_context_getter.h" |
| 65 #include "third_party/skia/include/core/SkBitmap.h" | 65 #include "third_party/skia/include/core/SkBitmap.h" |
| 66 #include "ui/gfx/image/image_skia.h" | 66 #include "ui/gfx/image/image_skia.h" |
| 67 #include "ui/gfx/native_widget_types.h" | 67 #include "ui/gfx/native_widget_types.h" |
| 68 #include "ui/shell_dialogs/selected_file_info.h" | 68 #include "ui/shell_dialogs/selected_file_info.h" |
| 69 #include "ui/snapshot/snapshot.h" | 69 #include "ui/snapshot/snapshot.h" |
| 70 #include "webkit/fileapi/isolated_context.h" | 70 #include "webkit/browser/fileapi/isolated_context.h" |
| 71 #include "webkit/glue/glue_serialize.h" | 71 #include "webkit/glue/glue_serialize.h" |
| 72 #include "webkit/glue/webdropdata.h" | 72 #include "webkit/glue/webdropdata.h" |
| 73 #include "webkit/glue/webkit_glue.h" | 73 #include "webkit/glue/webkit_glue.h" |
| 74 | 74 |
| 75 #if defined(OS_WIN) | 75 #if defined(OS_WIN) |
| 76 #include "base/win/windows_version.h" | 76 #include "base/win/windows_version.h" |
| 77 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebScreenInfoFact
ory.h" | 77 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebScreenInfoFact
ory.h" |
| 78 #elif defined(OS_MACOSX) | 78 #elif defined(OS_MACOSX) |
| 79 #include "content/browser/renderer_host/popup_menu_helper_mac.h" | 79 #include "content/browser/renderer_host/popup_menu_helper_mac.h" |
| 80 #elif defined(OS_ANDROID) | 80 #elif defined(OS_ANDROID) |
| (...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2082 webkit_glue::FilePathsFromHistoryState(state); | 2082 webkit_glue::FilePathsFromHistoryState(state); |
| 2083 for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); | 2083 for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); |
| 2084 file != file_paths.end(); ++file) { | 2084 file != file_paths.end(); ++file) { |
| 2085 if (!policy->CanReadFile(GetProcess()->GetID(), *file)) | 2085 if (!policy->CanReadFile(GetProcess()->GetID(), *file)) |
| 2086 return false; | 2086 return false; |
| 2087 } | 2087 } |
| 2088 return true; | 2088 return true; |
| 2089 } | 2089 } |
| 2090 | 2090 |
| 2091 } // namespace content | 2091 } // namespace content |
| OLD | NEW |