Chromium Code Reviews| Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_permissions_views.h |
| diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_permissions_views.h b/chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_permissions_views.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..50f4fd88c4a818b2cf904fc881f274c77293173f |
| --- /dev/null |
| +++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_permissions_views.h |
| @@ -0,0 +1,41 @@ |
| +// 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_APPS_APP_INFO_DIALOG_APP_INFO_TAB_PERMISSIONS_VIEWS_H_ |
| +#define CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_TAB_PERMISSIONS_VIEWS_H_ |
| + |
| +#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_views.h" |
| +#include "ui/gfx/native_widget_types.h" |
| +#include "ui/message_center/views/bounded_scroll_view.h" |
| + |
| +class Profile; |
| + |
| +namespace extensions { |
| +class Extension; |
| +} |
| + |
| +// A scrollable list of permissions for the given app. |
| +class PermissionsScrollView : public message_center::BoundedScrollView { |
|
Matt Giuca
2014/03/04 01:36:57
You shouldn't need this class in the header file (
sashab
2014/03/04 04:10:58
Moved, and moved all corresponding #includes as we
|
| + public: |
| + PermissionsScrollView(int min_height, |
| + int max_height, |
| + const extensions::Extension* app); |
| + |
| + private: |
| + virtual ~PermissionsScrollView(); |
| +}; |
| + |
| +class AppInfoPermissionsTabView : public AppInfoTabView { |
|
Matt Giuca
2014/03/04 01:36:57
Add a header explaining what sort of things go in
sashab
2014/03/04 04:10:58
Done.
|
| + public: |
| + AppInfoPermissionsTabView(gfx::NativeWindow parent_window, |
| + Profile* profile, |
| + const extensions::Extension* app, |
| + const base::Closure& close_callback); |
| + |
| + virtual ~AppInfoPermissionsTabView(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AppInfoPermissionsTabView); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_TAB_PERMISSIONS_VIEWS_H_ |