| 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/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/debug/trace_event.h" | 14 #include "base/debug/trace_event.h" |
| 15 #include "base/json/json_reader.h" | 15 #include "base/json/json_reader.h" |
| 16 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
| 17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
| 18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 19 #include "base/message_loop_proxy.h" | 19 #include "base/message_loop_proxy.h" |
| 20 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
| 21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
| 22 #include "base/process_util.h" | 22 #include "base/process_util.h" |
| 23 #include "base/string_number_conversions.h" | 23 #include "base/string_number_conversions.h" |
| 24 #include "base/string_piece.h" | 24 #include "base/string_piece.h" |
| 25 #include "base/string_split.h" | 25 #include "base/string_split.h" |
| 26 #include "base/string_util.h" | 26 #include "base/string_util.h" |
| 27 #include "base/sys_string_conversions.h" | 27 #include "base/sys_string_conversions.h" |
| 28 #include "base/time.h" | 28 #include "base/time.h" |
| 29 #include "base/utf_string_conversions.h" | 29 #include "base/utf_string_conversions.h" |
| 30 #include "cc/output_surface.h" |
| 30 #include "cc/switches.h" | 31 #include "cc/switches.h" |
| 31 #include "content/common/appcache/appcache_dispatcher.h" | 32 #include "content/common/appcache/appcache_dispatcher.h" |
| 32 #include "content/common/child_thread.h" | 33 #include "content/common/child_thread.h" |
| 33 #include "content/common/clipboard_messages.h" | 34 #include "content/common/clipboard_messages.h" |
| 34 #include "content/common/content_constants_internal.h" | 35 #include "content/common/content_constants_internal.h" |
| 35 #include "content/common/database_messages.h" | 36 #include "content/common/database_messages.h" |
| 36 #include "content/common/drag_messages.h" | 37 #include "content/common/drag_messages.h" |
| 37 #include "content/common/fileapi/file_system_dispatcher.h" | 38 #include "content/common/fileapi/file_system_dispatcher.h" |
| 38 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" | 39 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" |
| 39 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 40 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 #include "media/base/filter_collection.h" | 111 #include "media/base/filter_collection.h" |
| 111 #include "media/base/media_switches.h" | 112 #include "media/base/media_switches.h" |
| 112 #include "media/base/message_loop_factory.h" | 113 #include "media/base/message_loop_factory.h" |
| 113 #include "media/filters/audio_renderer_impl.h" | 114 #include "media/filters/audio_renderer_impl.h" |
| 114 #include "media/filters/gpu_video_decoder.h" | 115 #include "media/filters/gpu_video_decoder.h" |
| 115 #include "net/base/data_url.h" | 116 #include "net/base/data_url.h" |
| 116 #include "net/base/escape.h" | 117 #include "net/base/escape.h" |
| 117 #include "net/base/net_errors.h" | 118 #include "net/base/net_errors.h" |
| 118 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 119 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
| 119 #include "net/http/http_util.h" | 120 #include "net/http/http_util.h" |
| 120 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorOutput
Surface.h" | |
| 121 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" | 121 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" |
| 122 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h" | 122 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h" |
| 123 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h" | 123 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h" |
| 124 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h" | 124 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h" |
| 125 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 125 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
| 126 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 126 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 127 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 127 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 128 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserParams.
h" | 128 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserParams.
h" |
| 129 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" | 129 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" |
| 130 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 130 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| (...skipping 6307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6438 } | 6438 } |
| 6439 #endif | 6439 #endif |
| 6440 | 6440 |
| 6441 void RenderViewImpl::OnReleaseDisambiguationPopupDIB( | 6441 void RenderViewImpl::OnReleaseDisambiguationPopupDIB( |
| 6442 TransportDIB::Handle dib_handle) { | 6442 TransportDIB::Handle dib_handle) { |
| 6443 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle); | 6443 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle); |
| 6444 RenderProcess::current()->ReleaseTransportDIB(dib); | 6444 RenderProcess::current()->ReleaseTransportDIB(dib); |
| 6445 } | 6445 } |
| 6446 | 6446 |
| 6447 } // namespace content | 6447 } // namespace content |
| OLD | NEW |