| Index: chrome/browser/ui/app_list/search/people/people_result.h
|
| diff --git a/chrome/browser/ui/app_list/search/people/people_result.h b/chrome/browser/ui/app_list/search/people/people_result.h
|
| deleted file mode 100644
|
| index fb49ed509f90a3218053009dc8873466c41fb73e..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/app_list/search/people/people_result.h
|
| +++ /dev/null
|
| @@ -1,63 +0,0 @@
|
| -// Copyright 2013 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
|
| -#define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/macros.h"
|
| -#include "base/memory/weak_ptr.h"
|
| -#include "ui/app_list/search_result.h"
|
| -#include "url/gurl.h"
|
| -
|
| -class AppListControllerDelegate;
|
| -class Profile;
|
| -
|
| -namespace app_list {
|
| -
|
| -struct Person;
|
| -
|
| -class PeopleResult : public SearchResult {
|
| - public:
|
| - PeopleResult(Profile* profile,
|
| - AppListControllerDelegate* controller,
|
| - std::unique_ptr<Person> person);
|
| - ~PeopleResult() override;
|
| -
|
| - // SearchResult overrides:
|
| - void Open(int event_flags) override;
|
| - void InvokeAction(int action_index, int event_flags) override;
|
| - std::unique_ptr<SearchResult> Duplicate() const override;
|
| -
|
| - private:
|
| - void OnIconLoaded();
|
| - void SetDefaultActions();
|
| - void OpenChat();
|
| - void SendEmail();
|
| -
|
| - // Check if we have any variant of the hangouts extension installed and
|
| - // waiting on the onHangoutRequested event (the hangouts extension can have
|
| - // a total of four possible id's, depending on which release type of it is
|
| - // installed). If so, set the hangouts_extension_id_ to the id of the
|
| - // extension that is waiting, or set it to an empty string if not.
|
| - void RefreshHangoutsExtensionId();
|
| -
|
| - Profile* profile_;
|
| - AppListControllerDelegate* controller_;
|
| - std::unique_ptr<Person> person_;
|
| -
|
| - gfx::ImageSkia image_;
|
| -
|
| - // Caches the id of the hangouts extension.
|
| - std::string hangouts_extension_id_;
|
| -
|
| - base::WeakPtrFactory<PeopleResult> weak_factory_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(PeopleResult);
|
| -};
|
| -
|
| -} // namespace app_list
|
| -
|
| -#endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
|
|
|