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

Unified Diff: chrome/browser/ui/views/aura/chrome_shell_delegate.cc

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/aura/chrome_shell_delegate.cc
===================================================================
--- chrome/browser/ui/views/aura/chrome_shell_delegate.cc (revision 115744)
+++ chrome/browser/ui/views/aura/chrome_shell_delegate.cc (working copy)
@@ -34,13 +34,13 @@
// static
bool ChromeShellDelegate::ShouldCreateLauncherItemForBrowser(
Browser* browser,
- aura_shell::LauncherItemType* type) {
+ ash::LauncherItemType* type) {
if (browser->type() == Browser::TYPE_TABBED) {
- *type = aura_shell::TYPE_TABBED;
+ *type = ash::TYPE_TABBED;
return true;
}
if (browser->is_app()) {
- *type = aura_shell::TYPE_APP;
+ *type = ash::TYPE_APP;
return true;
}
return false;
@@ -66,25 +66,25 @@
new AppListWindow(bounds, callback);
}
-void ChromeShellDelegate::BuildAppListModel(aura_shell::AppListModel* model) {
+void ChromeShellDelegate::BuildAppListModel(ash::AppListModel* model) {
AppListModelBuilder builder(ProfileManager::GetDefaultProfile(),
model);
builder.Build();
}
-aura_shell::AppListViewDelegate*
+ash::AppListViewDelegate*
ChromeShellDelegate::CreateAppListViewDelegate() {
// Shell will own the created delegate.
return new AppListViewDelegate;
}
void ChromeShellDelegate::LauncherItemClicked(
- const aura_shell::LauncherItem& item) {
- aura_shell::ActivateWindow(item.window);
+ const ash::LauncherItem& item) {
+ ash::ActivateWindow(item.window);
}
bool ChromeShellDelegate::ConfigureLauncherItem(
- aura_shell::LauncherItem* item) {
+ ash::LauncherItem* item) {
BrowserView* view = BrowserView::GetBrowserViewForNativeWindow(item->window);
return view &&
ShouldCreateLauncherItemForBrowser(view->browser(), &(item->type));

Powered by Google App Engine
This is Rietveld 408576698