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

Side by Side Diff: chrome/browser/ui/views/app_list/app_list_dialog/app_list_dialog_client_view.h

Issue 306023011: Add new DialogDelegate for dialogs in the App List (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split into separate files, fixed unittest and removed no-longer-needed overlay from AppList Created 6 years, 6 months 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698