| Index: chrome/browser/ui/browser_win.cc
|
| diff --git a/chrome/browser/ui/browser_win.cc b/chrome/browser/ui/browser_win.cc
|
| index 04e203f4523cfeea32415081ebbd8f6c016e88ff..b4498b023c43e14567cef79eb9b99e657643a045 100644
|
| --- a/chrome/browser/ui/browser_win.cc
|
| +++ b/chrome/browser/ui/browser_win.cc
|
| @@ -58,30 +58,6 @@ void NewIncognitoWindow(Browser* browser) {
|
| NewEmptyWindow(browser->profile()->GetOffTheRecordProfile());
|
| }
|
|
|
| -void PinCurrentPageToStartScreen(Browser* browser) {
|
| - HMODULE metro_module = base::win::GetMetroModule();
|
| - if (metro_module) {
|
| - GURL url;
|
| - string16 title;
|
| - TabContents* tab = chrome::GetActiveTabContents(browser);
|
| - bookmark_utils::GetURLAndTitleToBookmark(tab->web_contents(), &url, &title);
|
| -
|
| - typedef BOOL (*MetroPinUrlToStartScreen)(const string16&, const string16&);
|
| - MetroPinUrlToStartScreen metro_pin_url_to_start_screen =
|
| - reinterpret_cast<MetroPinUrlToStartScreen>(
|
| - ::GetProcAddress(metro_module, "MetroPinUrlToStartScreen"));
|
| - if (!metro_pin_url_to_start_screen) {
|
| - NOTREACHED();
|
| - return;
|
| - }
|
| -
|
| - VLOG(1) << __FUNCTION__ << " calling pin with title: " << title
|
| - << " and url " << UTF8ToUTF16(url.spec());
|
| - metro_pin_url_to_start_screen(title, UTF8ToUTF16(url.spec()));
|
| - return;
|
| - }
|
| -}
|
| -
|
| } // namespace chrome
|
|
|
| void Browser::SetMetroSnapMode(bool enable) {
|
|
|