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

Side by Side Diff: chrome/browser/ui/app_list/search/people/people_result.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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 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 CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/ui/app_list/search/chrome_search_result.h" 12 #include "chrome/browser/ui/app_list/search/chrome_search_result.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 class Profile; 15 class Profile;
16 16
17 namespace app_list { 17 namespace app_list {
18 18
19 struct Person; 19 struct Person;
20 20
21 class PeopleResult : public ChromeSearchResult { 21 class PeopleResult : public ChromeSearchResult {
22 public: 22 public:
23 PeopleResult(Profile* profile, scoped_ptr<Person> person); 23 PeopleResult(Profile* profile, scoped_ptr<Person> person);
24 virtual ~PeopleResult(); 24 virtual ~PeopleResult();
25 25
26 // ChromeSearchResult overides: 26 // ChromeSearchResult overides:
27 virtual void Open(int event_flags) OVERRIDE; 27 virtual void Open(int event_flags) override;
28 virtual void InvokeAction(int action_index, int event_flags) OVERRIDE; 28 virtual void InvokeAction(int action_index, int event_flags) override;
29 virtual scoped_ptr<ChromeSearchResult> Duplicate() OVERRIDE; 29 virtual scoped_ptr<ChromeSearchResult> Duplicate() override;
30 virtual ChromeSearchResultType GetType() OVERRIDE; 30 virtual ChromeSearchResultType GetType() override;
31 31
32 private: 32 private:
33 void OnIconLoaded(); 33 void OnIconLoaded();
34 void SetDefaultActions(); 34 void SetDefaultActions();
35 void OpenChat(); 35 void OpenChat();
36 void SendEmail(); 36 void SendEmail();
37 37
38 // Check if we have any variant of the hangouts extension installed and 38 // Check if we have any variant of the hangouts extension installed and
39 // waiting on the onHangoutRequested event (the hangouts extension can have 39 // waiting on the onHangoutRequested event (the hangouts extension can have
40 // a total of four possible id's, depending on which release type of it is 40 // a total of four possible id's, depending on which release type of it is
(...skipping 10 matching lines...) Expand all
51 std::string hangouts_extension_id_; 51 std::string hangouts_extension_id_;
52 52
53 base::WeakPtrFactory<PeopleResult> weak_factory_; 53 base::WeakPtrFactory<PeopleResult> weak_factory_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(PeopleResult); 55 DISALLOW_COPY_AND_ASSIGN(PeopleResult);
56 }; 56 };
57 57
58 } // namespace app_list 58 } // namespace app_list
59 59
60 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_ 60 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698