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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java

Issue 1936353002: Add a flag to not start GPU process on browser startup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change willStartGpuProcess to shouldStartGpuProcess 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 package org.chromium.chrome.browser.init; 5 package org.chromium.chrome.browser.init;
6 6
7 /** 7 /**
8 * Empty implementation of the browser parts for easy extension. 8 * Empty implementation of the browser parts for easy extension.
9 */ 9 */
10 public class EmptyBrowserParts implements BrowserParts { 10 public class EmptyBrowserParts implements BrowserParts {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 @Override 44 @Override
45 public boolean isActivityDestroyed() { 45 public boolean isActivityDestroyed() {
46 return false; 46 return false;
47 } 47 }
48 48
49 @Override 49 @Override
50 public boolean isActivityFinishing() { 50 public boolean isActivityFinishing() {
51 return false; 51 return false;
52 } 52 }
53
54 @Override
55 public boolean shouldStartGpuProcess() {
56 return true;
57 }
53 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698