OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/renderer/searchbox/searchbox_extension.h" | 5 #include "chrome/renderer/searchbox/searchbox_extension.h" |
6 | 6 |
7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
8 #include "base/string_util.h" | |
9 #include "base/stringprintf.h" | |
10 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/string_util.h" |
| 10 #include "base/strings/stringprintf.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/common/autocomplete_match_type.h" | 12 #include "chrome/common/autocomplete_match_type.h" |
13 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
14 #include "chrome/common/instant_types.h" | 14 #include "chrome/common/instant_types.h" |
15 #include "chrome/common/url_constants.h" | 15 #include "chrome/common/url_constants.h" |
16 #include "chrome/renderer/searchbox/searchbox.h" | 16 #include "chrome/renderer/searchbox/searchbox.h" |
17 #include "content/public/renderer/render_view.h" | 17 #include "content/public/renderer/render_view.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 #include "grit/renderer_resources.h" | 19 #include "grit/renderer_resources.h" |
20 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 20 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1499 Dispatch(frame, kDispatchFocusChangedScript); | 1499 Dispatch(frame, kDispatchFocusChangedScript); |
1500 } | 1500 } |
1501 | 1501 |
1502 // static | 1502 // static |
1503 void SearchBoxExtension::DispatchToggleVoiceSearch( | 1503 void SearchBoxExtension::DispatchToggleVoiceSearch( |
1504 WebKit::WebFrame* frame) { | 1504 WebKit::WebFrame* frame) { |
1505 Dispatch(frame, kDispatchToggleVoiceSearchScript); | 1505 Dispatch(frame, kDispatchToggleVoiceSearchScript); |
1506 } | 1506 } |
1507 | 1507 |
1508 } // namespace extensions_v8 | 1508 } // namespace extensions_v8 |
OLD | NEW |