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

Unified Diff: ui/views/corewm/test/tooltip_aura_test_api.h

Issue 2556083002: Don't subtract border from max size for display rect. (Closed)
Patch Set: update test 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 | « ui/views/BUILD.gn ('k') | ui/views/corewm/test/tooltip_aura_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/test/tooltip_aura_test_api.h
diff --git a/ui/views/corewm/test/tooltip_aura_test_api.h b/ui/views/corewm/test/tooltip_aura_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..15db1e85081f2aa45fbcb28aadea389923dc90e4
--- /dev/null
+++ b/ui/views/corewm/test/tooltip_aura_test_api.h
@@ -0,0 +1,39 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_COREWM_TEST_TOOLTIP_AURA_TEST_API_H_
+#define UI_VIEWS_COREWM_TEST_TOOLTIP_AURA_TEST_API_H_
+
+#include <stddef.h>
+
+#include "base/macros.h"
+
+namespace gfx {
+class RenderText;
+}
+
+namespace views {
+namespace corewm {
+class TooltipAura;
+
+namespace test {
+
+class TooltipAuraTestApi {
+ public:
+ explicit TooltipAuraTestApi(TooltipAura* tooltip_aura)
+ : tooltip_aura_(tooltip_aura) {}
+
+ gfx::RenderText* GetRenderText();
+
+ private:
+ TooltipAura* tooltip_aura_;
+
+ DISALLOW_COPY_AND_ASSIGN(TooltipAuraTestApi);
+};
+
+} // namespace test
+} // namespace corewm
+} // namespace views
+
+#endif // UI_VIEWS_COREWM_TEST_TOOLTIP_AURA_TEST_API_H_
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/corewm/test/tooltip_aura_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698