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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
index 33388d8a89ba178f63d885589e08c50d8e3954db..81763a1ed437221f58b151fe84764f2a62cce640 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
@@ -27,22 +27,22 @@ class OmniboxUIHandler : public AutocompleteControllerDelegate,
public MojoWebUIHandler {
public:
explicit OmniboxUIHandler(Profile* profile);
- virtual ~OmniboxUIHandler();
+ ~OmniboxUIHandler() override;
// AutocompleteControllerDelegate overrides:
- virtual void OnResultChanged(bool default_match_changed) override;
+ void OnResultChanged(bool default_match_changed) override;
// ErrorHandler overrides:
- virtual void OnConnectionError() override {
+ void OnConnectionError() override {
// TODO(darin): How should we handle connection error?
}
// OmniboxUIHandlerMojo overrides:
- virtual void StartOmniboxQuery(const mojo::String& input_string,
- int32_t cursor_position,
- bool prevent_inline_autocomplete,
- bool prefer_keyword,
- int32_t page_classification) override;
+ void StartOmniboxQuery(const mojo::String& input_string,
+ int32_t cursor_position,
+ bool prevent_inline_autocomplete,
+ bool prefer_keyword,
+ int32_t page_classification) override;
private:
// Looks up whether the hostname is a typed host (i.e., has received

Powered by Google App Engine
This is Rietveld 408576698