Roll src/third_party/WebKit bf18a82:a9cee16 (svn 185297:185304)
[chromium-blink-merge.git] / athena / extensions / chrome / app_list_controller_delegate_athena.h
blob41e2d728b09e5710e35e3d0baeb1b7327b2afb57
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_EXTENSIONS_CHROME_APP_LIST_CONTROLLER_DELEGATE_ATHENA_H_
6 #define ATHENA_EXTENSIONS_CHROME_APP_LIST_CONTROLLER_DELEGATE_ATHENA_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
12 namespace athena {
14 class AppListControllerDelegateAthena : public AppListControllerDelegate {
15 public:
16 AppListControllerDelegateAthena();
17 ~AppListControllerDelegateAthena() override;
19 private:
20 // AppListControllerDelegate overrides:
21 void DismissView() override;
22 gfx::NativeWindow GetAppListWindow() override;
23 gfx::Rect GetAppListBounds() override;
24 gfx::ImageSkia GetWindowIcon() override;
25 bool IsAppPinned(const std::string& extension_id) override;
26 void PinApp(const std::string& extension_id) override;
27 void UnpinApp(const std::string& extension_id) override;
28 Pinnable GetPinnable() override;
29 void OnShowChildDialog() override;
30 void OnCloseChildDialog() override;
31 bool CanDoCreateShortcutsFlow() override;
32 void DoCreateShortcutsFlow(Profile* profile,
33 const std::string& extension_id) override;
34 void CreateNewWindow(Profile* profile, bool incognito) override;
35 void OpenURL(Profile* profile,
36 const GURL& url,
37 ui::PageTransition transition,
38 WindowOpenDisposition disposition) override;
39 void ActivateApp(Profile* profile,
40 const extensions::Extension* extension,
41 AppListSource source,
42 int event_flags) override;
43 void LaunchApp(Profile* profile,
44 const extensions::Extension* extension,
45 AppListSource source,
46 int event_flags) override;
47 void ShowForProfileByPath(const base::FilePath& profile_path) override;
48 bool ShouldShowUserIcon() override;
50 DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateAthena);
53 } // namespace athena
55 #endif // ATHENA_EXTENSIONS_CHROME_APP_LIST_CONTROLLER_DELEGATE_ATHENA_H_