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

Unified Diff: chrome/views/widget/widget.h

Issue 99133: Removes an unused boolean passed to MoveToFront. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/browser/views/toolbar_view.cc ('k') | chrome/views/widget/widget_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | chrome/views/widget/widget_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698