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 19 matching lines...) Expand all Loading... |
30 #include "chrome/common/chrome_constants.h" | 30 #include "chrome/common/chrome_constants.h" |
31 #include "chrome/common/chrome_paths.h" | 31 #include "chrome/common/chrome_paths.h" |
32 #include "chrome/common/chrome_switches.h" | 32 #include "chrome/common/chrome_switches.h" |
33 #include "chrome/common/extensions/extension.h" | 33 #include "chrome/common/extensions/extension.h" |
34 #include "chrome/common/jstemplate_builder.h" | 34 #include "chrome/common/jstemplate_builder.h" |
35 #include "chrome/common/notification_service.h" | 35 #include "chrome/common/notification_service.h" |
36 #include "chrome/common/page_zoom.h" | 36 #include "chrome/common/page_zoom.h" |
37 #include "chrome/common/pepper_plugin_registry.h" | 37 #include "chrome/common/pepper_plugin_registry.h" |
38 #include "chrome/common/plugin_group.h" | 38 #include "chrome/common/plugin_group.h" |
39 #include "chrome/common/render_messages.h" | 39 #include "chrome/common/render_messages.h" |
| 40 #include "chrome/common/render_messages_params.h" |
40 #include "chrome/common/renderer_preferences.h" | 41 #include "chrome/common/renderer_preferences.h" |
41 #include "chrome/common/thumbnail_score.h" | 42 #include "chrome/common/thumbnail_score.h" |
42 #include "chrome/common/url_constants.h" | 43 #include "chrome/common/url_constants.h" |
43 #include "chrome/common/window_container_type.h" | 44 #include "chrome/common/window_container_type.h" |
44 #include "chrome/renderer/about_handler.h" | 45 #include "chrome/renderer/about_handler.h" |
45 #include "chrome/renderer/audio_message_filter.h" | 46 #include "chrome/renderer/audio_message_filter.h" |
46 #include "chrome/renderer/blocked_plugin.h" | 47 #include "chrome/renderer/blocked_plugin.h" |
47 #include "chrome/renderer/device_orientation_dispatcher.h" | 48 #include "chrome/renderer/device_orientation_dispatcher.h" |
48 #include "chrome/renderer/devtools_agent.h" | 49 #include "chrome/renderer/devtools_agent.h" |
49 #include "chrome/renderer/devtools_client.h" | 50 #include "chrome/renderer/devtools_client.h" |
(...skipping 5512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5562 PendingOpenFileSystem* request = pending_file_system_requests_.Lookup( | 5563 PendingOpenFileSystem* request = pending_file_system_requests_.Lookup( |
5563 request_id); | 5564 request_id); |
5564 DCHECK(request); | 5565 DCHECK(request); |
5565 if (accepted) | 5566 if (accepted) |
5566 request->callbacks->didOpenFileSystem(name, root_path); | 5567 request->callbacks->didOpenFileSystem(name, root_path); |
5567 else | 5568 else |
5568 request->callbacks->didFail(WebKit::WebFileErrorSecurity); | 5569 request->callbacks->didFail(WebKit::WebFileErrorSecurity); |
5569 request->callbacks = NULL; | 5570 request->callbacks = NULL; |
5570 pending_file_system_requests_.Remove(request_id); | 5571 pending_file_system_requests_.Remove(request_id); |
5571 } | 5572 } |
OLD | NEW |