OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <cmath> | 8 #include <cmath> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "app/resource_bundle.h" | |
14 #include "base/callback.h" | 13 #include "base/callback.h" |
15 #include "base/command_line.h" | 14 #include "base/command_line.h" |
16 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
17 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
18 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
19 #include "base/path_service.h" | 18 #include "base/path_service.h" |
20 #include "base/process_util.h" | 19 #include "base/process_util.h" |
21 #include "base/string_piece.h" | 20 #include "base/string_piece.h" |
22 #include "base/string_util.h" | 21 #include "base/string_util.h" |
23 #include "base/sys_string_conversions.h" | 22 #include "base/sys_string_conversions.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 151 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" |
153 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" | 152 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" |
154 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 153 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" |
155 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" | 154 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" |
156 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 155 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" |
157 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 156 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
158 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" | 157 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" |
159 #include "third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.h" | 158 #include "third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.h" |
160 #include "third_party/skia/include/core/SkBitmap.h" | 159 #include "third_party/skia/include/core/SkBitmap.h" |
161 #include "ui/base/message_box_flags.h" | 160 #include "ui/base/message_box_flags.h" |
| 161 #include "ui/base/resource/resource_bundle.h" |
162 #include "v8/include/v8.h" | 162 #include "v8/include/v8.h" |
163 #include "v8/include/v8-testing.h" | 163 #include "v8/include/v8-testing.h" |
164 #include "webkit/appcache/web_application_cache_host_impl.h" | 164 #include "webkit/appcache/web_application_cache_host_impl.h" |
165 #include "webkit/glue/alt_error_page_resource_fetcher.h" | 165 #include "webkit/glue/alt_error_page_resource_fetcher.h" |
166 #include "webkit/glue/context_menu.h" | 166 #include "webkit/glue/context_menu.h" |
167 #include "webkit/glue/dom_operations.h" | 167 #include "webkit/glue/dom_operations.h" |
168 #include "webkit/glue/form_data.h" | 168 #include "webkit/glue/form_data.h" |
169 #include "webkit/glue/form_field.h" | 169 #include "webkit/glue/form_field.h" |
170 #include "webkit/glue/glue_serialize.h" | 170 #include "webkit/glue/glue_serialize.h" |
171 #include "webkit/glue/image_decoder.h" | 171 #include "webkit/glue/image_decoder.h" |
(...skipping 5557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5729 if (cmd == kJavaScriptStressTestSetStressRunType) { | 5729 if (cmd == kJavaScriptStressTestSetStressRunType) { |
5730 v8::Testing::SetStressRunType(static_cast<v8::Testing::StressType>(param)); | 5730 v8::Testing::SetStressRunType(static_cast<v8::Testing::StressType>(param)); |
5731 } else if (cmd == kJavaScriptStressTestPrepareStressRun) { | 5731 } else if (cmd == kJavaScriptStressTestPrepareStressRun) { |
5732 v8::Testing::PrepareStressRun(param); | 5732 v8::Testing::PrepareStressRun(param); |
5733 } | 5733 } |
5734 } | 5734 } |
5735 | 5735 |
5736 void RenderView::OnContextMenuClosed() { | 5736 void RenderView::OnContextMenuClosed() { |
5737 context_menu_node_.reset(); | 5737 context_menu_node_.reset(); |
5738 } | 5738 } |
OLD | NEW |