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

Unified Diff: ui/base/test/material_design_controller_test_api.h

Issue 2532793002: Add a TestBrowserDialog helper class for testing browser dialogs in a consistent way. (Closed)
Patch Set: Comment example. Use TestNameWithoutDisabledPrefix Created 4 years 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 | « chrome/test/BUILD.gn ('k') | ui/base/test/material_design_controller_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/material_design_controller_test_api.h
diff --git a/ui/base/test/material_design_controller_test_api.h b/ui/base/test/material_design_controller_test_api.h
index 3eb53a349f5585ad03e677b5e84478335a66b271..09cbc6748e256e21c75453afb33cbec6ff177281 100644
--- a/ui/base/test/material_design_controller_test_api.h
+++ b/ui/base/test/material_design_controller_test_api.h
@@ -19,12 +19,17 @@ class MaterialDesignControllerTestAPI {
explicit MaterialDesignControllerTestAPI(MaterialDesignController::Mode mode);
~MaterialDesignControllerTestAPI();
+ // Force the given |value| for IsSecondaryUiMaterial() for the lifetime of the
+ // test API.
+ void SetSecondaryUiMaterial(bool value);
+
// Wrapper functions for MaterialDesignController internal functions.
static void Uninitialize();
private:
const MaterialDesignController::Mode previous_mode_;
const bool previous_initialized_;
+ const bool previous_include_secondary_ui_;
DISALLOW_COPY_AND_ASSIGN(MaterialDesignControllerTestAPI);
};
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/base/test/material_design_controller_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698