Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: chrome/renderer/searchbox/searchbox.cc

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | chrome/renderer/spellchecker/spellcheck_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698