| Index: chrome/browser/web_applications/web_app.h
|
| ===================================================================
|
| --- chrome/browser/web_applications/web_app.h (revision 50777)
|
| +++ chrome/browser/web_applications/web_app.h (working copy)
|
| @@ -1,15 +1,18 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 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_WEB_APPLICATIONS_WEB_APP_H_
|
| #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
|
|
|
| +#include <vector>
|
| +
|
| #include "base/callback.h"
|
| -#include "base/file_path.h"
|
| +#include "build/build_config.h"
|
| #include "chrome/browser/shell_integration.h"
|
| #include "webkit/glue/dom_operations.h"
|
|
|
| +class FilePath;
|
| class Profile;
|
| class TabContents;
|
|
|
| @@ -40,11 +43,13 @@
|
| // Returns data dir for web apps for given profile path.
|
| FilePath GetDataDir(const FilePath& profile_path);
|
|
|
| +#if defined(TOOLKIT_VIEWS)
|
| // Extracts icons info from web app data. Take only square shaped icons and
|
| // sort them from smallest to largest.
|
| typedef std::vector<webkit_glue::WebApplicationInfo::IconInfo> IconInfoList;
|
| void GetIconsInfo(const webkit_glue::WebApplicationInfo& app_info,
|
| IconInfoList* icons);
|
| +#endif
|
|
|
| // Extracts shortcut info of given TabContents.
|
| void GetShortcutInfoForTab(TabContents* tab_contents,
|
|
|