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

Unified Diff: ui/views/corewm/tooltip_controller_test_helper.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
« no previous file with comments | « ui/views/corewm/tooltip_controller_test_helper.h ('k') | ui/views/corewm/tooltip_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_controller_test_helper.cc
diff --git a/ui/views/corewm/tooltip_controller_test_helper.cc b/ui/views/corewm/tooltip_controller_test_helper.cc
deleted file mode 100644
index f96b08dc50a425ee416a2ea60704ed1b170096d1..0000000000000000000000000000000000000000
--- a/ui/views/corewm/tooltip_controller_test_helper.cc
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2013 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.
-
-#include "ui/views/corewm/tooltip_controller_test_helper.h"
-
-#include "ui/aura/window.h"
-#include "ui/views/corewm/tooltip_controller.h"
-
-namespace views {
-namespace corewm {
-namespace test {
-
-TooltipControllerTestHelper::TooltipControllerTestHelper(
- TooltipController* controller)
- : controller_(controller) {
-}
-
-TooltipControllerTestHelper::~TooltipControllerTestHelper() {
-}
-
-base::string16 TooltipControllerTestHelper::GetTooltipText() {
- return controller_->tooltip_text_;
-}
-
-aura::Window* TooltipControllerTestHelper::GetTooltipWindow() {
- return controller_->tooltip_window_;
-}
-
-void TooltipControllerTestHelper::FireTooltipTimer() {
- controller_->TooltipTimerFired();
-}
-
-bool TooltipControllerTestHelper::IsTooltipTimerRunning() {
- return controller_->tooltip_timer_.IsRunning();
-}
-
-void TooltipControllerTestHelper::FireTooltipShownTimer() {
- controller_->tooltip_shown_timer_.Stop();
- controller_->TooltipShownTimerFired();
-}
-
-bool TooltipControllerTestHelper::IsTooltipShownTimerRunning() {
- return controller_->tooltip_shown_timer_.IsRunning();
-}
-
-bool TooltipControllerTestHelper::IsTooltipVisible() {
- return controller_->IsTooltipVisible();
-}
-
-TooltipTestView::TooltipTestView() {
-}
-
-TooltipTestView::~TooltipTestView() {
-}
-
-bool TooltipTestView::GetTooltipText(const gfx::Point& p,
- base::string16* tooltip) const {
- *tooltip = tooltip_text_;
- return true;
-}
-
-} // namespace test
-} // namespace corewm
-} // namespace views
« no previous file with comments | « ui/views/corewm/tooltip_controller_test_helper.h ('k') | ui/views/corewm/tooltip_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698