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

Unified Diff: ui/views/corewm/tooltip.h

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/desktop_capture_controller_unittest.cc ('k') | ui/views/corewm/tooltip_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip.h
diff --git a/ui/views/corewm/tooltip.h b/ui/views/corewm/tooltip.h
deleted file mode 100644
index 7fb15bc32ca3cb7e53517a95709342b609b0e30a..0000000000000000000000000000000000000000
--- a/ui/views/corewm/tooltip.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 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.
-
-#ifndef UI_VIEWS_COREWM_TOOLTIP_H_
-#define UI_VIEWS_COREWM_TOOLTIP_H_
-
-#include "base/strings/string16.h"
-#include "ui/views/views_export.h"
-
-namespace aura {
-class Window;
-}
-
-namespace gfx {
-class Point;
-}
-
-namespace views {
-namespace corewm {
-
-// Tooltip is responsible for showing the tooltip in an appropriate manner.
-// Tooltip is used by TooltipController.
-class VIEWS_EXPORT Tooltip {
- public:
- virtual ~Tooltip() {}
-
- // Updates the text on the tooltip and resizes to fit.
- virtual void SetText(aura::Window* window,
- const base::string16& tooltip_text,
- const gfx::Point& location) = 0;
-
- // Shows the tooltip at the specified location (in screen coordinates).
- virtual void Show() = 0;
-
- // Hides the tooltip.
- virtual void Hide() = 0;
-
- // Is the tooltip visibile?
- virtual bool IsVisible() = 0;
-};
-
-} // namespace corewm
-} // namespace views
-
-#endif // UI_VIEWS_COREWM_TOOLTIP_H_
« no previous file with comments | « ui/views/corewm/desktop_capture_controller_unittest.cc ('k') | ui/views/corewm/tooltip_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698