Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / views / corewm / tooltip_aura.h
index dfbd9a8..9e8c5fa 100644 (file)
@@ -40,17 +40,10 @@ class VIEWS_EXPORT TooltipAura : public Tooltip, public WidgetObserver {
   // Returns the max width of the tooltip when shown at the specified location.
   int GetMaxWidth(const gfx::Point& location) const;
 
-  // Returns the bounds to fit the tooltip in.
-  gfx::Rect GetBoundsForTooltip(const gfx::Point& origin) const;
-
   // Adjusts the bounds given by the arguments to fit inside the desktop
   // and applies the adjusted bounds to the label_.
   void SetTooltipBounds(const gfx::Point& mouse_pos,
-                        int tooltip_width,
-                        int tooltip_height);
-
-  // Makes sure |widget_| is valid, creating as necessary.
-  void CreateWidget();
+                        const gfx::Size& tooltip_size);
 
   // Destroys |widget_|.
   void DestroyWidget();