Skip to content

Commit

Permalink
Site specific secondary tiles for Windows 8.
Browse files Browse the repository at this point in the history
When pages are pinned to the start screen, if there is a favicon available for the site it is used to generate the tile.

BUG=140942


Review URL: https://chromiumcodereview.appspot.com/11198025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163943 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
benwells@chromium.org committed Oct 24, 2012
1 parent 6fbe89a commit b0bcd9b
Show file tree
Hide file tree
Showing 9 changed files with 382 additions and 154 deletions.
4 changes: 3 additions & 1 deletion chrome/browser/ui/browser_commands.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include "chrome/browser/ui/find_bar/find_bar_controller.h"
#include "chrome/browser/ui/find_bar/find_tab_helper.h"
#include "chrome/browser/ui/fullscreen/fullscreen_controller.h"
#include "chrome/browser/ui/metro_pin_tab_helper.h"
#include "chrome/browser/ui/omnibox/location_bar.h"
#include "chrome/browser/ui/search/search.h"
#include "chrome/browser/ui/search/search_model.h"
Expand Down Expand Up @@ -80,6 +79,7 @@

#if defined(OS_WIN)
#include "base/win/metro.h"
#include "chrome/browser/ui/metro_pin_tab_helper_win.h"
#endif

namespace {
Expand Down Expand Up @@ -651,8 +651,10 @@ bool CanBookmarkAllTabs(const Browser* browser) {
}

void TogglePagePinnedToStartScreen(Browser* browser) {
#if defined(OS_WIN)
MetroPinTabHelper::FromWebContents(GetActiveWebContents(browser))->
TogglePinnedToStartScreen();
#endif
}

void SavePage(Browser* browser) {
Expand Down
76 changes: 0 additions & 76 deletions chrome/browser/ui/metro_pin_tab_helper.cc

This file was deleted.

Loading

0 comments on commit b0bcd9b

Please sign in to comment.