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

Side by Side Diff: chrome/browser/ui/webui/fileicon_source_chromeos.cc

Issue 7825024: For Touch: remove some menu items for experimentation, adjust sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 years, 3 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/webui/fileicon_source_cros.h" 5 #include "chrome/browser/ui/webui/fileicon_source_chromeos.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
13 #include "base/string_split.h" 13 #include "base/string_split.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/threading/thread_restrictions.h" 15 #include "base/threading/thread_restrictions.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 scoped_refptr<RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes(idr)); 247 scoped_refptr<RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes(idr));
248 SendResponse(request_id, bytes); 248 SendResponse(request_id, bytes);
249 } 249 }
250 250
251 // The mime type refers to the type of the response/icon served. 251 // The mime type refers to the type of the response/icon served.
252 std::string FileIconSourceCros::GetMimeType( 252 std::string FileIconSourceCros::GetMimeType(
253 const std::string& url) const { 253 const std::string& url) const {
254 return "image/png"; 254 return "image/png";
255 } 255 }
256 256
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/fileicon_source_chromeos.h ('k') | chrome/browser/ui/webui/fileicon_source_cros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698