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

Side by Side Diff: ui/app_list/views/search_result_actions_view.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/app_list/search_result.h" 9 #include "ui/app_list/search_result.h"
10 #include "ui/views/controls/button/button.h" 10 #include "ui/views/controls/button/button.h"
(...skipping 16 matching lines...) Expand all
27 void SetSelectedAction(int action_index); 27 void SetSelectedAction(int action_index);
28 int selected_action() const { return selected_action_; } 28 int selected_action() const { return selected_action_; }
29 29
30 bool IsValidActionIndex(int action_index) const; 30 bool IsValidActionIndex(int action_index) const;
31 31
32 private: 32 private:
33 void CreateImageButton(const SearchResult::Action& action); 33 void CreateImageButton(const SearchResult::Action& action);
34 void CreateBlueButton(const SearchResult::Action& action); 34 void CreateBlueButton(const SearchResult::Action& action);
35 35
36 // views::View overrides: 36 // views::View overrides:
37 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 37 virtual void OnPaint(gfx::Canvas* canvas) override;
38 38
39 // views::ButtonListener overrides: 39 // views::ButtonListener overrides:
40 virtual void ButtonPressed(views::Button* sender, 40 virtual void ButtonPressed(views::Button* sender,
41 const ui::Event& event) OVERRIDE; 41 const ui::Event& event) override;
42 42
43 SearchResultActionsViewDelegate* delegate_; // Not owned. 43 SearchResultActionsViewDelegate* delegate_; // Not owned.
44 int selected_action_; 44 int selected_action_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(SearchResultActionsView); 46 DISALLOW_COPY_AND_ASSIGN(SearchResultActionsView);
47 }; 47 };
48 48
49 } // namespace app_list 49 } // namespace app_list
50 50
51 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_H_ 51 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_box_view_unittest.cc ('k') | ui/app_list/views/search_result_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698