Index: chrome/views/widget/widget.h |
=================================================================== |
--- chrome/views/widget/widget.h (revision 14739) |
+++ chrome/views/widget/widget.h (working copy) |
@@ -44,10 +44,6 @@ |
// including_frame is ignored. |
virtual void GetBounds(gfx::Rect* out, bool including_frame) const = 0; |
- // Moves this Widget to the front of the Z-Order If should_activate is TRUE, |
- // the window should also become the active window. |
- virtual void MoveToFront(bool should_activate) = 0; |
- |
// Returns the gfx::NativeView associated with this Widget. |
virtual gfx::NativeView GetNativeView() const = 0; |
@@ -74,10 +70,10 @@ |
virtual bool GetAccelerator(int cmd_id, |
Accelerator* accelerator) = 0; |
- // Returns the Widget as a Window, if such a conversion is possible, or NULL |
- // if it is not. |
- virtual Window* AsWindow() { return NULL; } |
- virtual const Window* AsWindow() const { return NULL; } |
+ // Returns the Window containing this Widget, or NULL if not contained in a |
+ // window. |
+ virtual Window* GetWindow() { return NULL; } |
+ virtual const Window* GetWindow() const { return NULL; } |
}; |
} // namespace views |