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

Side by Side Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h

Issue 2914793005: [mus+ash] Fixes minimum browser window size (store / retrieve kPreferredSize property) (Closed)
Patch Set: [mus+ash] Fixes minimum browser window size (tests) Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/shell_observer.h" 10 #include "ash/shell_observer.h"
(...skipping 16 matching lines...) Expand all
27 BrowserNonClientFrameViewAsh(BrowserFrame* frame, BrowserView* browser_view); 27 BrowserNonClientFrameViewAsh(BrowserFrame* frame, BrowserView* browser_view);
28 ~BrowserNonClientFrameViewAsh() override; 28 ~BrowserNonClientFrameViewAsh() override;
29 29
30 void Init(); 30 void Init();
31 31
32 // BrowserNonClientFrameView: 32 // BrowserNonClientFrameView:
33 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; 33 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override;
34 int GetTopInset(bool restored) const override; 34 int GetTopInset(bool restored) const override;
35 int GetThemeBackgroundXInset() const override; 35 int GetThemeBackgroundXInset() const override;
36 void UpdateThrobber(bool running) override; 36 void UpdateThrobber(bool running) override;
37 void UpdateMinimumSize() override;
37 38
38 // views::NonClientFrameView: 39 // views::NonClientFrameView:
39 gfx::Rect GetBoundsForClientView() const override; 40 gfx::Rect GetBoundsForClientView() const override;
40 gfx::Rect GetWindowBoundsForClientBounds( 41 gfx::Rect GetWindowBoundsForClientBounds(
41 const gfx::Rect& client_bounds) const override; 42 const gfx::Rect& client_bounds) const override;
42 int NonClientHitTest(const gfx::Point& point) override; 43 int NonClientHitTest(const gfx::Point& point) override;
43 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; 44 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override;
44 void ResetWindowControls() override; 45 void ResetWindowControls() override;
45 void UpdateWindowIcon() override; 46 void UpdateWindowIcon() override;
46 void UpdateWindowTitle() override; 47 void UpdateWindowTitle() override;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // For popups, the window icon. 107 // For popups, the window icon.
107 TabIconView* window_icon_; 108 TabIconView* window_icon_;
108 109
109 // Helper class for painting the header. 110 // Helper class for painting the header.
110 std::unique_ptr<ash::HeaderPainter> header_painter_; 111 std::unique_ptr<ash::HeaderPainter> header_painter_;
111 112
112 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); 113 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh);
113 }; 114 };
114 115
115 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 116 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698