| 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.h" | 5 #include "chrome/renderer/searchbox/searchbox.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 14 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
| 15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
| 19 #include "chrome/common/instant.mojom.h" | 19 #include "chrome/common/instant.mojom.h" |
| 20 #include "chrome/common/render_messages.h" | 20 #include "chrome/common/render_messages.h" |
| 21 #include "chrome/common/url_constants.h" | 21 #include "chrome/common/url_constants.h" |
| 22 #include "chrome/renderer/searchbox/searchbox_extension.h" | 22 #include "chrome/renderer/searchbox/searchbox_extension.h" |
| 23 #include "components/favicon_base/fallback_icon_url_parser.h" | |
| 24 #include "components/favicon_base/favicon_types.h" | 23 #include "components/favicon_base/favicon_types.h" |
| 25 #include "components/favicon_base/favicon_url_parser.h" | 24 #include "components/favicon_base/favicon_url_parser.h" |
| 26 #include "components/favicon_base/large_icon_url_parser.h" | |
| 27 #include "components/omnibox/common/omnibox_focus_state.h" | 25 #include "components/omnibox/common/omnibox_focus_state.h" |
| 28 #include "content/public/common/associated_interface_provider.h" | 26 #include "content/public/common/associated_interface_provider.h" |
| 29 #include "content/public/common/associated_interface_registry.h" | 27 #include "content/public/common/associated_interface_registry.h" |
| 30 #include "content/public/renderer/render_frame.h" | 28 #include "content/public/renderer/render_frame.h" |
| 31 #include "content/public/renderer/render_view.h" | 29 #include "content/public/renderer/render_view.h" |
| 32 #include "net/base/escape.h" | 30 #include "net/base/escape.h" |
| 33 #include "third_party/WebKit/public/web/WebDocument.h" | 31 #include "third_party/WebKit/public/web/WebDocument.h" |
| 34 #include "third_party/WebKit/public/web/WebFrame.h" | 32 #include "third_party/WebKit/public/web/WebFrame.h" |
| 35 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 33 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 36 #include "third_party/WebKit/public/web/WebPerformance.h" | 34 #include "third_party/WebKit/public/web/WebPerformance.h" |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 embedded_search_request_params_ = EmbeddedSearchRequestParams(); | 440 embedded_search_request_params_ = EmbeddedSearchRequestParams(); |
| 443 suggestion_ = InstantSuggestion(); | 441 suggestion_ = InstantSuggestion(); |
| 444 is_focused_ = false; | 442 is_focused_ = false; |
| 445 is_key_capture_enabled_ = false; | 443 is_key_capture_enabled_ = false; |
| 446 theme_info_ = ThemeBackgroundInfo(); | 444 theme_info_ = ThemeBackgroundInfo(); |
| 447 } | 445 } |
| 448 | 446 |
| 449 void SearchBox::OnDestruct() { | 447 void SearchBox::OnDestruct() { |
| 450 delete this; | 448 delete this; |
| 451 } | 449 } |
| OLD | NEW |