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

Side by Side Diff: chrome/browser/ui/web_applications/web_app_ui.cc

Issue 7096016: Remove JS dialog dependency from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: now a tc delegate Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/web_applications/web_app_ui.h" 5 #include "chrome/browser/ui/web_applications/web_app_ui.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "base/utf_string_conversions.h"
10 #include "base/win/windows_version.h" 11 #include "base/win/windows_version.h"
11 #include "chrome/browser/extensions/extension_tab_helper.h" 12 #include "chrome/browser/extensions/extension_tab_helper.h"
12 #include "chrome/browser/favicon/favicon_tab_helper.h" 13 #include "chrome/browser/favicon/favicon_tab_helper.h"
13 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/web_applications/web_app.h" 15 #include "chrome/browser/web_applications/web_app.h"
15 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 16 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
16 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
17 #include "content/browser/browser_thread.h" 18 #include "content/browser/browser_thread.h"
18 #include "content/browser/tab_contents/tab_contents.h" 19 #include "content/browser/tab_contents/tab_contents.h"
19 #include "content/common/notification_registrar.h" 20 #include "content/common/notification_registrar.h"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 311
311 void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents) { 312 void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents) {
312 #if defined(OS_WIN) 313 #if defined(OS_WIN)
313 // UpdateShortcutWorker will delete itself when it's done. 314 // UpdateShortcutWorker will delete itself when it's done.
314 UpdateShortcutWorker* worker = new UpdateShortcutWorker(tab_contents); 315 UpdateShortcutWorker* worker = new UpdateShortcutWorker(tab_contents);
315 worker->Run(); 316 worker->Run();
316 #endif // defined(OS_WIN) 317 #endif // defined(OS_WIN)
317 } 318 }
318 319
319 } // namespace web_app 320 } // namespace web_app
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698