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

Side by Side Diff: chrome/browser/gears_integration.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/gears_integration.h ('k') | chrome/browser/gpu_process_host.h » ('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/gears_integration.h" 5 #include "chrome/browser/gears_integration.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/chrome_plugin_host.h" 15 #include "chrome/browser/chrome_plugin_host.h"
16 #include "chrome/common/chrome_plugin_util.h" 16 #include "chrome/common/chrome_plugin_util.h"
17 #include "chrome/common/gears_api.h" 17 #include "chrome/common/gears_api.h"
18 #include "chrome/common/web_apps.h" 18 #include "chrome/common/web_apps.h"
19 #include "gfx/codec/png_codec.h"
20 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
21 #include "third_party/skia/include/core/SkBitmap.h" 20 #include "third_party/skia/include/core/SkBitmap.h"
21 #include "ui/gfx/codec/png_codec.h"
22 22
23 // The following 2 helpers are borrowed from the Gears codebase. 23 // The following 2 helpers are borrowed from the Gears codebase.
24 24
25 const size_t kUserPathComponentMaxChars = 64; 25 const size_t kUserPathComponentMaxChars = 64;
26 26
27 // Returns true if and only if the char meets the following criteria: 27 // Returns true if and only if the char meets the following criteria:
28 // 28 //
29 // - visible ASCII 29 // - visible ASCII
30 // - None of the following characters: / \ : * ? " < > | ; , 30 // - None of the following characters: / \ : * ? " < > | ; ,
31 // 31 //
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 struct RunnableMethodTraits<QueryShortcutsCommand> { 300 struct RunnableMethodTraits<QueryShortcutsCommand> {
301 void RetainCallee(QueryShortcutsCommand* command) {} 301 void RetainCallee(QueryShortcutsCommand* command) {}
302 void ReleaseCallee(QueryShortcutsCommand* command) {} 302 void ReleaseCallee(QueryShortcutsCommand* command) {}
303 }; 303 };
304 304
305 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) { 305 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) {
306 CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST, 306 CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST,
307 new QueryShortcutsCommand(callback), 307 new QueryShortcutsCommand(callback),
308 0); 308 0);
309 } 309 }
OLDNEW
« no previous file with comments | « chrome/browser/gears_integration.h ('k') | chrome/browser/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698