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

Side by Side Diff: content/public/test/browser_test_base.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/public/test/browser_test_base.h" 5 #include "content/public/test/browser_test_base.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 381
382 void BrowserTestBase::EnablePixelOutput() { enable_pixel_output_ = true; } 382 void BrowserTestBase::EnablePixelOutput() { enable_pixel_output_ = true; }
383 383
384 void BrowserTestBase::UseSoftwareCompositing() { 384 void BrowserTestBase::UseSoftwareCompositing() {
385 use_software_compositing_ = true; 385 use_software_compositing_ = true;
386 } 386 }
387 387
388 bool BrowserTestBase::UsingOSMesa() const { 388 bool BrowserTestBase::UsingOSMesa() const {
389 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess(); 389 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
390 return cmd->GetSwitchValueASCII(switches::kUseGL) == 390 return cmd->GetSwitchValueASCII(switches::kUseGL) ==
391 gfx::kGLImplementationOSMesaName; 391 gl::kGLImplementationOSMesaName;
392 } 392 }
393 393
394 } // namespace content 394 } // namespace content
OLDNEW
« no previous file with comments | « content/public/gpu/gpu_video_decode_accelerator_factory.h ('k') | content/renderer/pepper/pepper_video_encoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698