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

Side by Side Diff: webkit/support/platform_support_gtk.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 | « webkit/plugins/ppapi/ppb_scrollbar_impl.h ('k') | webkit/support/webkit_support_gfx.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/support/platform_support.h" 5 #include "webkit/support/platform_support.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/string_piece.h" 12 #include "base/string_piece.h"
13 #include "gfx/gfx_module.h"
14 #include "grit/webkit_resources.h" 13 #include "grit/webkit_resources.h"
15 #include "ui/base/resource/data_pack.h" 14 #include "ui/base/resource/data_pack.h"
15 #include "ui/gfx/gfx_module.h"
16 16
17 namespace { 17 namespace {
18 18
19 // Data resources on linux. This is a pointer to the mmapped resources file. 19 // Data resources on linux. This is a pointer to the mmapped resources file.
20 ui::DataPack* g_resource_data_pack = NULL; 20 ui::DataPack* g_resource_data_pack = NULL;
21 21
22 base::StringPiece TestResourceProvider(int resource_id) { 22 base::StringPiece TestResourceProvider(int resource_id) {
23 base::StringPiece res; 23 base::StringPiece res;
24 if (g_resource_data_pack) 24 if (g_resource_data_pack)
25 g_resource_data_pack->GetStringPiece(resource_id, &res); 25 g_resource_data_pack->GetStringPiece(resource_id, &res);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 return resize_corner_data; 95 return resize_corner_data;
96 } 96 }
97 } 97 }
98 base::StringPiece res; 98 base::StringPiece res;
99 g_resource_data_pack->GetStringPiece(resource_id, &res); 99 g_resource_data_pack->GetStringPiece(resource_id, &res);
100 return res; 100 return res;
101 } 101 }
102 102
103 } // namespace webkit_glue 103 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_scrollbar_impl.h ('k') | webkit/support/webkit_support_gfx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698