Chromium Code Reviews| Index: chrome/browser/ui/views/app_list/app_list_dialog/app_list_dialog_client_view.h |
| diff --git a/chrome/browser/ui/views/app_list/app_list_dialog/app_list_dialog_client_view.h b/chrome/browser/ui/views/app_list/app_list_dialog/app_list_dialog_client_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0c29b436d1f8b4fec08f24b11bc0d429f77cc850 |
| --- /dev/null |
| +++ b/chrome/browser/ui/views/app_list/app_list_dialog/app_list_dialog_client_view.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2014 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_VIEWS_APP_LIST_APP_LIST_DIALOG_APP_LIST_DIALOG_CLIENT_VIEW_H_ |
| +#define CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_APP_LIST_DIALOG_CLIENT_VIEW_H_ |
| + |
| +#include "ui/gfx/geometry/size.h" |
|
tapted
2014/06/11 08:34:59
nit: don't need to #include this, since the type i
sashab
2014/06/12 00:13:43
Done, moved to CC file.
|
| +#include "ui/views/window/client_view.h" |
| + |
| +namespace views { |
| +class View; |
| +class Widget; |
| +} |
| + |
| +// A wrapper for the contents of an App List Dialog. |
| +class AppListDialogClientView : public views::ClientView { |
| + public: |
| + AppListDialogClientView(views::Widget* widget, views::View* contents_view); |
| + virtual ~AppListDialogClientView(); |
| + |
| + // Overridden from views::ClientView: |
| + virtual bool CanClose() OVERRIDE; |
| + |
| + // Overridden from views::View: |
| + virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| + virtual void Layout() OVERRIDE; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AppListDialogClientView); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_APP_LIST_DIALOG_CLIENT_VIEW_H_ |