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

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

Issue 6538111: Move the rest of the core files in chrome\browser to content\browser.... (Closed) Base URL: svn://chrome-svn/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/gpu_process_host.cc ('k') | chrome/browser/host_zoom_map.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 // TODO(jam): move this file to src/content once we have an interface that the
2 // embedder provides. We can then use it to get the resource and resize the
3 // window.
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 4 // 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 5 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 6 // found in the LICENSE file.
4 7
5 #include "chrome/browser/gpu_process_host_ui_shim.h" 8 #include "chrome/browser/gpu_process_host_ui_shim.h"
6 9
7 #include "app/app_switches.h" 10 #include "app/app_switches.h"
8 #include "app/gfx/gl/gl_implementation.h" 11 #include "app/gfx/gl/gl_implementation.h"
9 #include "base/command_line.h" 12 #include "base/command_line.h"
10 #include "base/id_map.h" 13 #include "base/id_map.h"
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 static const base::StringPiece gpu_blacklist_json( 592 static const base::StringPiece gpu_blacklist_json(
590 ResourceBundle::GetSharedInstance().GetRawDataResource( 593 ResourceBundle::GetSharedInstance().GetRawDataResource(
591 IDR_GPU_BLACKLIST)); 594 IDR_GPU_BLACKLIST));
592 gpu_blacklist_.reset(new GpuBlacklist()); 595 gpu_blacklist_.reset(new GpuBlacklist());
593 if (gpu_blacklist_->LoadGpuBlacklist(gpu_blacklist_json.as_string(), true)) 596 if (gpu_blacklist_->LoadGpuBlacklist(gpu_blacklist_json.as_string(), true))
594 return true; 597 return true;
595 gpu_blacklist_.reset(NULL); 598 gpu_blacklist_.reset(NULL);
596 return false; 599 return false;
597 } 600 }
598 601
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | chrome/browser/host_zoom_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698