| 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> |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 } | 530 } |
| 531 | 531 |
| 532 void SearchBox::Reset() { | 532 void SearchBox::Reset() { |
| 533 query_.clear(); | 533 query_.clear(); |
| 534 embedded_search_request_params_ = EmbeddedSearchRequestParams(); | 534 embedded_search_request_params_ = EmbeddedSearchRequestParams(); |
| 535 suggestion_ = InstantSuggestion(); | 535 suggestion_ = InstantSuggestion(); |
| 536 is_focused_ = false; | 536 is_focused_ = false; |
| 537 is_key_capture_enabled_ = false; | 537 is_key_capture_enabled_ = false; |
| 538 theme_info_ = ThemeBackgroundInfo(); | 538 theme_info_ = ThemeBackgroundInfo(); |
| 539 } | 539 } |
| 540 |
| 541 void SearchBox::OnDestruct() { |
| 542 delete this; |
| 543 } |
| OLD | NEW |