Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 17432002: Replace content::ContextMenuSourceType with ui::MenuSourceType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "content/public/browser/notification_details.h" 50 #include "content/public/browser/notification_details.h"
51 #include "content/public/browser/notification_service.h" 51 #include "content/public/browser/notification_service.h"
52 #include "content/public/browser/notification_types.h" 52 #include "content/public/browser/notification_types.h"
53 #include "content/public/browser/power_save_blocker.h" 53 #include "content/public/browser/power_save_blocker.h"
54 #include "content/public/browser/render_view_host_observer.h" 54 #include "content/public/browser/render_view_host_observer.h"
55 #include "content/public/browser/user_metrics.h" 55 #include "content/public/browser/user_metrics.h"
56 #include "content/public/common/bindings_policy.h" 56 #include "content/public/common/bindings_policy.h"
57 #include "content/public/common/content_constants.h" 57 #include "content/public/common/content_constants.h"
58 #include "content/public/common/content_switches.h" 58 #include "content/public/common/content_switches.h"
59 #include "content/public/common/context_menu_params.h" 59 #include "content/public/common/context_menu_params.h"
60 #include "content/public/common/context_menu_source_type.h"
61 #include "content/public/common/result_codes.h" 60 #include "content/public/common/result_codes.h"
62 #include "content/public/common/url_constants.h" 61 #include "content/public/common/url_constants.h"
63 #include "content/public/common/url_utils.h" 62 #include "content/public/common/url_utils.h"
64 #include "net/base/net_util.h" 63 #include "net/base/net_util.h"
65 #include "net/url_request/url_request_context_getter.h" 64 #include "net/url_request/url_request_context_getter.h"
66 #include "third_party/skia/include/core/SkBitmap.h" 65 #include "third_party/skia/include/core/SkBitmap.h"
67 #include "ui/gfx/image/image_skia.h" 66 #include "ui/gfx/image/image_skia.h"
68 #include "ui/gfx/native_widget_types.h" 67 #include "ui/gfx/native_widget_types.h"
69 #include "ui/shell_dialogs/selected_file_info.h" 68 #include "ui/shell_dialogs/selected_file_info.h"
70 #include "ui/snapshot/snapshot.h" 69 #include "ui/snapshot/snapshot.h"
(...skipping 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2071 const std::vector<base::FilePath>& file_paths = state.GetReferencedFiles(); 2070 const std::vector<base::FilePath>& file_paths = state.GetReferencedFiles();
2072 for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); 2071 for (std::vector<base::FilePath>::const_iterator file = file_paths.begin();
2073 file != file_paths.end(); ++file) { 2072 file != file_paths.end(); ++file) {
2074 if (!policy->CanReadFile(GetProcess()->GetID(), *file)) 2073 if (!policy->CanReadFile(GetProcess()->GetID(), *file))
2075 return false; 2074 return false;
2076 } 2075 }
2077 return true; 2076 return true;
2078 } 2077 }
2079 2078
2080 } // namespace content 2079 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698