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

Side by Side Diff: chrome/browser/ui/views/aura/chrome_shell_delegate.h

Issue 8890049: [Aura] Implement views-based applist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 23 matching lines...) Expand all
34 static bool ShouldCreateLauncherItemForBrowser( 34 static bool ShouldCreateLauncherItemForBrowser(
35 Browser* browser, 35 Browser* browser,
36 aura_shell::LauncherItemType* type); 36 aura_shell::LauncherItemType* type);
37 37
38 // aura_shell::ShellDelegate overrides; 38 // aura_shell::ShellDelegate overrides;
39 virtual void CreateNewWindow() OVERRIDE; 39 virtual void CreateNewWindow() OVERRIDE;
40 virtual views::Widget* CreateStatusArea() OVERRIDE; 40 virtual views::Widget* CreateStatusArea() OVERRIDE;
41 virtual void RequestAppListWidget( 41 virtual void RequestAppListWidget(
42 const gfx::Rect& bounds, 42 const gfx::Rect& bounds,
43 const SetWidgetCallback& callback) OVERRIDE; 43 const SetWidgetCallback& callback) OVERRIDE;
44 virtual void BuildAppListModel(aura_shell::AppListModel* model) OVERRIDE;
45 virtual aura_shell::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
44 virtual void LauncherItemClicked( 46 virtual void LauncherItemClicked(
45 const aura_shell::LauncherItem& item) OVERRIDE; 47 const aura_shell::LauncherItem& item) OVERRIDE;
46 virtual bool ConfigureLauncherItem(aura_shell::LauncherItem* item) OVERRIDE; 48 virtual bool ConfigureLauncherItem(aura_shell::LauncherItem* item) OVERRIDE;
47 49
48 private: 50 private:
49 static ChromeShellDelegate* instance_; 51 static ChromeShellDelegate* instance_;
50 52
51 scoped_ptr<StatusAreaHostAura> status_area_host_; 53 scoped_ptr<StatusAreaHostAura> status_area_host_;
52 54
53 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 55 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
54 }; 56 };
55 57
56 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ 58 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/aura/app_list/extension_app_item.cc ('k') | chrome/browser/ui/views/aura/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698