Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.h |
diff --git a/chrome/browser/ui/views/app_list/app_list_dialog_container.h b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.h |
similarity index 74% |
rename from chrome/browser/ui/views/app_list/app_list_dialog_container.h |
rename to chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.h |
index 089c3d043e99c4e7b8a7e0291fbdaef56aab802c..15feb8fc4eb53e09346ea62d630f3cbe4032ad0b 100644 |
--- a/chrome/browser/ui/views/app_list/app_list_dialog_container.h |
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_CONTAINER_H_ |
-#define CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_CONTAINER_H_ |
+#ifndef CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_CONTAINER_H_ |
+#define CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_CONTAINER_H_ |
#include "base/callback_forward.h" |
#include "ui/gfx/geometry/size.h" |
@@ -13,6 +13,8 @@ class DialogDelegateView; |
class View; |
} |
+#if defined(ENABLE_APP_LIST) |
+ |
// Creates a new dialog containing |view| that can be displayed inside the app |
// list, covering the entire app list and adding a close button. Takes ownership |
// of |view|. |
@@ -20,6 +22,8 @@ views::DialogDelegateView* CreateAppListContainerForView( |
views::View* view, |
const base::Closure& close_callback); |
+#endif // ENABLE_APP_LIST |
+ |
// Creates a new native dialog of the given |size| containing |view| with a |
// close button and draggable titlebar. Takes ownership of |view|. |
views::DialogDelegateView* CreateDialogContainerForView( |
@@ -27,4 +31,4 @@ views::DialogDelegateView* CreateDialogContainerForView( |
const gfx::Size& size, |
const base::Closure& close_callback); |
-#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_CONTAINER_H_ |
+#endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_CONTAINER_H_ |