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

Unified Diff: ui/views/widget/tooltip_manager.h

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 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/widget/native_widget_aura.cc ('k') | ui/views/widget/tooltip_manager_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/tooltip_manager.h
diff --git a/ui/views/widget/tooltip_manager.h b/ui/views/widget/tooltip_manager.h
index 4287fc53d6ad4771c9fd36b7f33581b624be00e8..e807404734060218b600c70e5034c6c5485c7a0d 100644
--- a/ui/views/widget/tooltip_manager.h
+++ b/ui/views/widget/tooltip_manager.h
@@ -8,7 +8,6 @@
#include <string>
#include "base/strings/string16.h"
-#include "ui/gfx/native_widget_types.h"
#include "ui/views/views_export.h"
namespace gfx {
@@ -39,10 +38,8 @@ class VIEWS_EXPORT TooltipManager {
virtual ~TooltipManager() {}
// Returns the maximum width of the tooltip. |point| gives the location
- // the tooltip is to be displayed on in screen coordinates. |context| is
- // used to determine which gfx::Screen should be used.
- virtual int GetMaxWidth(const gfx::Point& location,
- gfx::NativeView context) const = 0;
+ // the tooltip is to be displayed on in screen coordinates.
+ virtual int GetMaxWidth(const gfx::Point& location) const = 0;
// Returns the font list used for tooltips.
virtual const gfx::FontList& GetFontList() const = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/tooltip_manager_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698