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

Unified Diff: webkit/support/platform_support_gtk.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_pdf_impl.cc ('k') | webkit/support/platform_support_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/platform_support_gtk.cc
===================================================================
--- webkit/support/platform_support_gtk.cc (revision 72000)
+++ webkit/support/platform_support_gtk.cc (working copy)
@@ -4,7 +4,6 @@
#include "webkit/support/platform_support.h"
-#include "app/data_pack.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/logging.h"
@@ -13,11 +12,12 @@
#include "base/string_piece.h"
#include "gfx/gfx_module.h"
#include "grit/webkit_resources.h"
+#include "ui/base/resource/data_pack.h"
namespace {
// Data resources on linux. This is a pointer to the mmapped resources file.
-app::DataPack* g_resource_data_pack = NULL;
+ui::DataPack* g_resource_data_pack = NULL;
base::StringPiece TestResourceProvider(int resource_id) {
base::StringPiece res;
@@ -39,7 +39,7 @@
void AfterInitialize(bool unit_test_mode) {
if (unit_test_mode)
return; // We don't have a resource pack when running the unit-tests.
- g_resource_data_pack = new app::DataPack;
+ g_resource_data_pack = new ui::DataPack;
FilePath data_path;
PathService::Get(base::DIR_EXE, &data_path);
data_path = data_path.Append("DumpRenderTree.pak");
« no previous file with comments | « webkit/plugins/ppapi/ppb_pdf_impl.cc ('k') | webkit/support/platform_support_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698