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

Unified Diff: ui/ozone/public/ozone_platform.h

Issue 1208603002: content: implement unittests backend for Ozone GBM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix NavigationControllerTest failure Created 5 years, 6 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
Index: ui/ozone/public/ozone_platform.h
diff --git a/ui/ozone/public/ozone_platform.h b/ui/ozone/public/ozone_platform.h
index 590104b8428a8145afcb8c0f8da5a4a2e95ed591..6a7ec0f3b537521973fd5a0b6c2c37c6a471ee63 100644
--- a/ui/ozone/public/ozone_platform.h
+++ b/ui/ozone/public/ozone_platform.h
@@ -51,6 +51,9 @@ class OZONE_EXPORT OzonePlatform {
// Initializes the subsystems/resources necessary for the GPU process.
static void InitializeForGPU();
+ // Initializes both Browser and GPU side code.
+ static void InitializeForTest();
spang 2015/07/13 17:08:26 I don't think we should have an "InitializeForTest
+
static OzonePlatform* GetInstance();
// Factory getters to override in subclasses. The returned objects will be
@@ -72,6 +75,7 @@ class OZONE_EXPORT OzonePlatform {
private:
virtual void InitializeUI() = 0;
virtual void InitializeGPU() = 0;
+ virtual void InitializeTest() = 0;
static void CreateInstance();

Powered by Google App Engine
This is Rietveld 408576698