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

Unified Diff: chrome/views/widget/widget_win.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/views/widget/widget_gtk.cc ('k') | chrome/views/widget/widget_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/widget/widget_win.h
===================================================================
--- chrome/views/widget/widget_win.h (revision 14739)
+++ chrome/views/widget/widget_win.h (working copy)
@@ -24,6 +24,7 @@
class RootView;
class TooltipManager;
+class Window;
bool SetRootViewForHWND(HWND hwnd, RootView* root_view);
RootView* GetRootViewForHWND(HWND hwnd);
@@ -231,13 +232,14 @@
// Overridden from Widget:
virtual void GetBounds(gfx::Rect* out, bool including_frame) const;
- virtual void MoveToFront(bool should_activate);
virtual gfx::NativeView GetNativeView() const;
virtual void PaintNow(const gfx::Rect& update_rect);
virtual RootView* GetRootView();
virtual bool IsVisible() const;
virtual bool IsActive() const;
virtual TooltipManager* GetTooltipManager();
+ virtual Window* GetWindow();
+ virtual const Window* GetWindow() const;
// Overridden from MessageLoop::Observer:
void WillProcessMessage(const MSG& msg);
@@ -529,7 +531,14 @@
scoped_ptr<TooltipManager> tooltip_manager_;
+ // Are a subclass of WindowWin?
+ bool is_window_;
+
private:
+ // Implementation of GetWindow. Ascends the parents of |hwnd| returning the
+ // first ancestor that is a Window.
+ static Window* GetWindowImpl(HWND hwnd);
+
// Resize the bitmap used to contain the contents of the layered window. This
// recreates the entire bitmap.
void SizeContents(const CRect& window_rect);
« no previous file with comments | « chrome/views/widget/widget_gtk.cc ('k') | chrome/views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698