OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_APP_LIST_DIALOG_CLIENT_ VIEW_H_ | |
6 #define CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_APP_LIST_DIALOG_CLIENT_ VIEW_H_ | |
7 | |
8 #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.
| |
9 #include "ui/views/window/client_view.h" | |
10 | |
11 namespace views { | |
12 class View; | |
13 class Widget; | |
14 } | |
15 | |
16 // A wrapper for the contents of an App List Dialog. | |
17 class AppListDialogClientView : public views::ClientView { | |
18 public: | |
19 AppListDialogClientView(views::Widget* widget, views::View* contents_view); | |
20 virtual ~AppListDialogClientView(); | |
21 | |
22 // Overridden from views::ClientView: | |
23 virtual bool CanClose() OVERRIDE; | |
24 | |
25 // Overridden from views::View: | |
26 virtual gfx::Size GetPreferredSize() const OVERRIDE; | |
27 virtual void Layout() OVERRIDE; | |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(AppListDialogClientView); | |
30 }; | |
31 | |
32 #endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_DIALOG_APP_LIST_DIALOG_CLIE NT_VIEW_H_ | |
OLD | NEW |