diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 19:47:40 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 19:47:40 +0000 |
commit | 36c67a27058dfcda9edd9a9e9bc0dee65d31e102 (patch) | |
tree | 405b16a957632b1bfbe4cfec545cf8b4e408d89e /chrome/browser/views | |
parent | 1655c34e85564ff7648f8c84406f446b08416197 (diff) | |
download | chromium_src-36c67a27058dfcda9edd9a9e9bc0dee65d31e102.zip chromium_src-36c67a27058dfcda9edd9a9e9bc0dee65d31e102.tar.gz chromium_src-36c67a27058dfcda9edd9a9e9bc0dee65d31e102.tar.bz2 |
Remove some code that seems unnecessary now that the distributor logo is dead.
BUG=none
TEST=Window frame still looks OK after switching themes or resizing
Review URL: http://codereview.chromium.org/3053025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/frame/browser_frame_win.cc | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/chrome/browser/views/frame/browser_frame_win.cc b/chrome/browser/views/frame/browser_frame_win.cc index 5c77c2c..0a4212c 100644 --- a/chrome/browser/views/frame/browser_frame_win.cc +++ b/chrome/browser/views/frame/browser_frame_win.cc @@ -222,25 +222,8 @@ LRESULT BrowserFrameWin::OnNCHitTest(const CPoint& pt) { } void BrowserFrameWin::OnWindowPosChanged(WINDOWPOS* window_pos) { - // Windows lies to us about the position of the minimize button before a - // window is visible. We use the position of the minimize button to place the - // distributor logo in official builds. When the window is shown, we need to - // re-layout and schedule a paint for the non-client frame view so that the - // distributor logo has the correct position when the window becomes visible. - // This fixes bugs where the distributor logo appears to overlay the minimize - // button. http://crbug.com/15520 - // Note that we will call Layout every time SetWindowPos is called with - // SWP_SHOWWINDOW, however callers typically are careful about not specifying - // this flag unless necessary to avoid flicker. - if (window_pos->flags & SWP_SHOWWINDOW) { - GetNonClientView()->Layout(); - GetNonClientView()->SchedulePaint(); - } - - UpdateDWMFrame(); - - // Let the default window procedure handle - IMPORTANT! WindowWin::OnWindowPosChanged(window_pos); + UpdateDWMFrame(); } ThemeProvider* BrowserFrameWin::GetThemeProvider() const { |