| Index: chrome/browser/browser.cc
|
| ===================================================================
|
| --- chrome/browser/browser.cc (revision 21216)
|
| +++ chrome/browser/browser.cc (working copy)
|
| @@ -347,6 +347,12 @@
|
| browser->AddTabWithURL(url, GURL(), PageTransition::START_PAGE, true, -1,
|
| false, NULL);
|
|
|
| +#if defined(OS_WIN)
|
| + // Set the app user model id for this application to that of the application
|
| + // name. See http://crbug.com/7028.
|
| + win_util::SetAppIdForWindow(app_name, browser->window()->GetNativeHandle());
|
| +#endif
|
| +
|
| TabContents* tab_contents = browser->GetSelectedTabContents();
|
| tab_contents->GetMutableRendererPrefs()->can_accept_load_drops = false;
|
| tab_contents->render_view_host()->SyncRendererPrefs();
|
|
|