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

Side by Side Diff: chrome/browser/web_applications/web_app.cc

Issue 915002: Create a toplevel gfx/ dir and seed it with icon_util.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
« no previous file with comments | « chrome/browser/views/tab_icon_view.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/web_applications/web_app.h" 5 #include "chrome/browser/web_applications/web_app.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <ShellAPI.h> 8 #include <ShellAPI.h>
9 #endif // defined(OS_WIN) 9 #endif // defined(OS_WIN)
10 10
(...skipping 18 matching lines...) Expand all
29 #include "chrome/common/notification_registrar.h" 29 #include "chrome/common/notification_registrar.h"
30 #include "chrome/common/notification_service.h" 30 #include "chrome/common/notification_service.h"
31 #include "chrome/common/url_constants.h" 31 #include "chrome/common/url_constants.h"
32 #include "webkit/glue/dom_operations.h" 32 #include "webkit/glue/dom_operations.h"
33 33
34 #if defined(OS_LINUX) 34 #if defined(OS_LINUX)
35 #include "base/linux_util.h" 35 #include "base/linux_util.h"
36 #endif // defined(OS_LINUX) 36 #endif // defined(OS_LINUX)
37 37
38 #if defined(OS_WIN) 38 #if defined(OS_WIN)
39 #include "app/gfx/icon_util.h"
40 #include "base/win_util.h" 39 #include "base/win_util.h"
40 #include "gfx/icon_util.h"
41 #endif // defined(OS_WIN) 41 #endif // defined(OS_WIN)
42 42
43 namespace { 43 namespace {
44 44
45 const FilePath::CharType kIconChecksumFileExt[] = FILE_PATH_LITERAL(".ico.md5"); 45 const FilePath::CharType kIconChecksumFileExt[] = FILE_PATH_LITERAL(".ico.md5");
46 46
47 // Returns true if |ch| is in visible ASCII range and not one of 47 // Returns true if |ch| is in visible ASCII range and not one of
48 // "/ \ : * ? " < > | ; ,". 48 // "/ \ : * ? " < > | ; ,".
49 bool IsValidFilePathChar(char16 c) { 49 bool IsValidFilePathChar(char16 c) {
50 if (c < 32) 50 if (c < 32)
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 739
740 void UpdateShortcutForTabContents(TabContents* tab_contents) { 740 void UpdateShortcutForTabContents(TabContents* tab_contents) {
741 #if defined(OS_WIN) 741 #if defined(OS_WIN)
742 // UpdateShortcutWorker will delete itself when it's done. 742 // UpdateShortcutWorker will delete itself when it's done.
743 UpdateShortcutWorker* worker = new UpdateShortcutWorker(tab_contents); 743 UpdateShortcutWorker* worker = new UpdateShortcutWorker(tab_contents);
744 worker->Run(); 744 worker->Run();
745 #endif // defined(OS_WIN) 745 #endif // defined(OS_WIN)
746 } 746 }
747 747
748 }; // namespace web_app 748 }; // namespace web_app
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_icon_view.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698