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_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ 7 8 #include "ui/gfx/native_widget_types.h" 9 #include "ui/views/view.h" 10 11 class Profile; 12 13 namespace extensions { 14 class Extension; 15 } 16 17 namespace views { 18 class ScrollView; 19 } 20 21 // View the information about a particular chrome application. 22 23 class AppInfoDialog : public views::View { 24 public: 25 AppInfoDialog(gfx::NativeWindow parent_window, 26 Profile* profile, 27 const extensions::Extension* app); 28 virtual ~AppInfoDialog(); 29 30 private: 31 // UI elements of the dialog. 32 views::View* dialog_header_; 33 views::ScrollView* dialog_body_; 34 views::View* dialog_footer_; 35 36 DISALLOW_COPY_AND_ASSIGN(AppInfoDialog); 37 }; 38 39 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ 40