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

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

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 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 bool is_focused() const { return is_focused_; } 133 bool is_focused() const { return is_focused_; }
134 bool is_input_in_progress() const { return is_input_in_progress_; } 134 bool is_input_in_progress() const { return is_input_in_progress_; }
135 bool is_key_capture_enabled() const { return is_key_capture_enabled_; } 135 bool is_key_capture_enabled() const { return is_key_capture_enabled_; }
136 bool display_instant_results() const { return display_instant_results_; } 136 bool display_instant_results() const { return display_instant_results_; }
137 const base::string16& query() const { return query_; } 137 const base::string16& query() const { return query_; }
138 const InstantSuggestion& suggestion() const { return suggestion_; } 138 const InstantSuggestion& suggestion() const { return suggestion_; }
139 139
140 private: 140 private:
141 // Overridden from content::RenderViewObserver: 141 // Overridden from content::RenderViewObserver:
142 bool OnMessageReceived(const IPC::Message& message) override; 142 bool OnMessageReceived(const IPC::Message& message) override;
143 void OnDestruct() override;
143 144
144 void OnSetPageSequenceNumber(int page_seq_no); 145 void OnSetPageSequenceNumber(int page_seq_no);
145 void OnChromeIdentityCheckResult(const base::string16& identity, 146 void OnChromeIdentityCheckResult(const base::string16& identity,
146 bool identity_match); 147 bool identity_match);
147 void OnDetermineIfPageSupportsInstant(); 148 void OnDetermineIfPageSupportsInstant();
148 void OnFocusChanged(OmniboxFocusState new_focus_state, 149 void OnFocusChanged(OmniboxFocusState new_focus_state,
149 OmniboxFocusChangeReason reason); 150 OmniboxFocusChangeReason reason);
150 void OnHistorySyncCheckResult(bool sync_history); 151 void OnHistorySyncCheckResult(bool sync_history);
151 void OnMostVisitedChanged( 152 void OnMostVisitedChanged(
152 const std::vector<InstantMostVisitedItem>& items); 153 const std::vector<InstantMostVisitedItem>& items);
(...skipping 23 matching lines...) Expand all
176 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_; 177 InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_;
177 ThemeBackgroundInfo theme_info_; 178 ThemeBackgroundInfo theme_info_;
178 base::string16 query_; 179 base::string16 query_;
179 EmbeddedSearchRequestParams embedded_search_request_params_; 180 EmbeddedSearchRequestParams embedded_search_request_params_;
180 InstantSuggestion suggestion_; 181 InstantSuggestion suggestion_;
181 182
182 DISALLOW_COPY_AND_ASSIGN(SearchBox); 183 DISALLOW_COPY_AND_ASSIGN(SearchBox);
183 }; 184 };
184 185
185 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 186 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/threat_dom_details.cc ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698