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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h

Issue 691253002: Move the Developer Website and Licenses links in the App Info dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h b/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h
index cdbc73aac24e084f13e51bcbaa01875be35ae8ea..6af8d19458e187b32458cf96e2d3d973c6dd5607 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h
@@ -20,8 +20,6 @@ class Image;
namespace views {
class ImageView;
-class Link;
-class View;
}
// A small summary panel with the app's name, icon, version, and various links
@@ -49,25 +47,9 @@ class AppInfoHeaderPanel : public AppInfoPanel,
void ShowAppInWebStore();
bool CanShowAppInWebStore() const;
- // Opens the app's homepage URL as specified in the manifest. Must only be
- // called if CanShowAppHomePage() returns true.
- void ShowAppHomePage();
- bool CanShowAppHomePage() const;
-
- // Displays the licenses for the app. Must only be called if
- // CanDisplayLicenses() returns true.
- void DisplayLicenses();
- bool CanDisplayLicenses() const;
- const std::vector<GURL> GetLicenseUrls() const;
-
- // Opens the given URL in a new browser tab.
- void OpenLink(const GURL& url);
-
// UI elements on the dialog. Elements are NULL if they are not displayed.
views::ImageView* app_icon_;
views::Link* view_in_store_link_;
- views::Link* homepage_link_;
- views::Link* licenses_link_;
base::WeakPtrFactory<AppInfoHeaderPanel> weak_ptr_factory_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698