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/renderer_webkitplatformsupport_impl.h" | 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "content/renderer/render_thread_impl.h" | 33 #include "content/renderer/render_thread_impl.h" |
34 #include "content/renderer/renderer_clipboard_client.h" | 34 #include "content/renderer/renderer_clipboard_client.h" |
35 #include "content/renderer/websharedworkerrepository_impl.h" | 35 #include "content/renderer/websharedworkerrepository_impl.h" |
36 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
37 #include "ipc/ipc_sync_message_filter.h" | 37 #include "ipc/ipc_sync_message_filter.h" |
38 #include "media/audio/audio_output_device.h" | 38 #include "media/audio/audio_output_device.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis
try.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis
try.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenter.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenter.h" |
45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenterClient.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenterClient.h" |
46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
47 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
48 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 47 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
49 #include "webkit/base/file_path_string_conversions.h" | 48 #include "webkit/base/file_path_string_conversions.h" |
50 #include "webkit/glue/simple_webmimeregistry_impl.h" | 49 #include "webkit/glue/simple_webmimeregistry_impl.h" |
51 #include "webkit/glue/webclipboard_impl.h" | 50 #include "webkit/glue/webclipboard_impl.h" |
52 #include "webkit/glue/webfileutilities_impl.h" | 51 #include "webkit/glue/webfileutilities_impl.h" |
53 #include "webkit/glue/webkit_glue.h" | 52 #include "webkit/glue/webkit_glue.h" |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 size_t before_index, | 750 size_t before_index, |
752 const WebKit::WebString& locale) { | 751 const WebKit::WebString& locale) { |
753 // Crash if WebKit calls this function when canHyphenate returns false. | 752 // Crash if WebKit calls this function when canHyphenate returns false. |
754 DCHECK(locale.isEmpty() || locale.equals("en-US")); | 753 DCHECK(locale.isEmpty() || locale.equals("en-US")); |
755 DCHECK(hyphenator_.get()); | 754 DCHECK(hyphenator_.get()); |
756 return hyphenator_->ComputeLastHyphenLocation(string16(characters, length), | 755 return hyphenator_->ComputeLastHyphenLocation(string16(characters, length), |
757 before_index); | 756 before_index); |
758 } | 757 } |
759 | 758 |
760 } // namespace content | 759 } // namespace content |
OLD | NEW |