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

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

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/extensions/extension_view.h ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/gfx/png_encoder.h" 7 #include "base/gfx/png_encoder.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "chrome/browser/chrome_plugin_host.h" 11 #include "chrome/browser/chrome_plugin_host.h"
12 #include "chrome/common/chrome_plugin_util.h" 12 #include "chrome/common/chrome_plugin_util.h"
13 #include "chrome/common/gears_api.h" 13 #include "chrome/common/gears_api.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "net/base/base64.h" 15 #include "net/base/base64.h"
16 #include "skia/include/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
17 #include "webkit/glue/dom_operations.h" 17 #include "webkit/glue/dom_operations.h"
18 18
19 // The following 2 helpers are borrowed from the Gears codebase. 19 // The following 2 helpers are borrowed from the Gears codebase.
20 20
21 const size_t kUserPathComponentMaxChars = 64; 21 const size_t kUserPathComponentMaxChars = 64;
22 22
23 // Returns true if and only if the char meets the following criteria: 23 // Returns true if and only if the char meets the following criteria:
24 // 24 //
25 // - visible ASCII 25 // - visible ASCII
26 // - None of the following characters: / \ : * ? " < > | ; , 26 // - None of the following characters: / \ : * ? " < > | ; ,
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 template<> 306 template<>
307 void RunnableMethodTraits<QueryShortcutsCommand>::ReleaseCallee( 307 void RunnableMethodTraits<QueryShortcutsCommand>::ReleaseCallee(
308 QueryShortcutsCommand* remover) { 308 QueryShortcutsCommand* remover) {
309 } 309 }
310 310
311 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) { 311 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) {
312 CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST, 312 CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST,
313 new QueryShortcutsCommand(callback), 313 new QueryShortcutsCommand(callback),
314 NULL); 314 NULL);
315 } 315 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view.h ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698