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

Side by Side Diff: chrome/browser/ui/views/apps/glass_app_window_frame_view_win.h

Issue 554183002: Update the maximize button when size constraints change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update NativeWidgetMac. Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_
7 7
8 #include "ui/gfx/geometry/insets.h" 8 #include "ui/gfx/geometry/insets.h"
9 #include "ui/views/window/non_client_view.h" 9 #include "ui/views/window/non_client_view.h"
10 10
(...skipping 16 matching lines...) Expand all
27 // views::NonClientFrameView implementation. 27 // views::NonClientFrameView implementation.
28 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 28 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
29 virtual gfx::Rect GetWindowBoundsForClientBounds( 29 virtual gfx::Rect GetWindowBoundsForClientBounds(
30 const gfx::Rect& client_bounds) const OVERRIDE; 30 const gfx::Rect& client_bounds) const OVERRIDE;
31 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 31 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
32 virtual void GetWindowMask(const gfx::Size& size, 32 virtual void GetWindowMask(const gfx::Size& size,
33 gfx::Path* window_mask) OVERRIDE; 33 gfx::Path* window_mask) OVERRIDE;
34 virtual void ResetWindowControls() OVERRIDE {} 34 virtual void ResetWindowControls() OVERRIDE {}
35 virtual void UpdateWindowIcon() OVERRIDE {} 35 virtual void UpdateWindowIcon() OVERRIDE {}
36 virtual void UpdateWindowTitle() OVERRIDE {} 36 virtual void UpdateWindowTitle() OVERRIDE {}
37 virtual void SizeConstraintsChanged() OVERRIDE {}
37 38
38 // views::View implementation. 39 // views::View implementation.
39 virtual gfx::Size GetPreferredSize() const OVERRIDE; 40 virtual gfx::Size GetPreferredSize() const OVERRIDE;
40 virtual const char* GetClassName() const OVERRIDE; 41 virtual const char* GetClassName() const OVERRIDE;
41 virtual gfx::Size GetMinimumSize() const OVERRIDE; 42 virtual gfx::Size GetMinimumSize() const OVERRIDE;
42 virtual gfx::Size GetMaximumSize() const OVERRIDE; 43 virtual gfx::Size GetMaximumSize() const OVERRIDE;
43 44
44 extensions::NativeAppWindow* window_; 45 extensions::NativeAppWindow* window_;
45 views::Widget* widget_; 46 views::Widget* widget_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(GlassAppWindowFrameViewWin); 48 DISALLOW_COPY_AND_ASSIGN(GlassAppWindowFrameViewWin);
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ 51 #endif // CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « athena/main/athena_frame_view.h ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698