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

Side by Side Diff: ash/common/frame/custom_frame_view_ash.h

Issue 2227643003: Converts mash to use the common non-client frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_widget_mus_fix
Patch Set: feedback Created 4 years, 4 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
« no previous file with comments | « no previous file | ash/common/frame/custom_frame_view_ash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ 5 #ifndef ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_
6 #define ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ 6 #define ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // views::NonClientFrameView: 50 // views::NonClientFrameView:
51 gfx::Rect GetBoundsForClientView() const override; 51 gfx::Rect GetBoundsForClientView() const override;
52 gfx::Rect GetWindowBoundsForClientBounds( 52 gfx::Rect GetWindowBoundsForClientBounds(
53 const gfx::Rect& client_bounds) const override; 53 const gfx::Rect& client_bounds) const override;
54 int NonClientHitTest(const gfx::Point& point) override; 54 int NonClientHitTest(const gfx::Point& point) override;
55 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; 55 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override;
56 void ResetWindowControls() override; 56 void ResetWindowControls() override;
57 void UpdateWindowIcon() override; 57 void UpdateWindowIcon() override;
58 void UpdateWindowTitle() override; 58 void UpdateWindowTitle() override;
59 void SizeConstraintsChanged() override; 59 void SizeConstraintsChanged() override;
60 void ActivationChanged(bool active) override;
60 61
61 // views::View: 62 // views::View:
62 gfx::Size GetPreferredSize() const override; 63 gfx::Size GetPreferredSize() const override;
63 void Layout() override; 64 void Layout() override;
64 const char* GetClassName() const override; 65 const char* GetClassName() const override;
65 gfx::Size GetMinimumSize() const override; 66 gfx::Size GetMinimumSize() const override;
66 gfx::Size GetMaximumSize() const override; 67 gfx::Size GetMaximumSize() const override;
67 void SchedulePaintInRect(const gfx::Rect& r) override; 68 void SchedulePaintInRect(const gfx::Rect& r) override;
68 void VisibilityChanged(views::View* starting_from, bool is_visible) override; 69 void VisibilityChanged(views::View* starting_from, bool is_visible) override;
69 70
(...skipping 23 matching lines...) Expand all
93 // View which contains the title and window controls. 94 // View which contains the title and window controls.
94 class HeaderView; 95 class HeaderView;
95 HeaderView* header_view_; 96 HeaderView* header_view_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); 98 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh);
98 }; 99 };
99 100
100 } // namespace ash 101 } // namespace ash
101 102
102 #endif // ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ 103 #endif // ASH_COMMON_FRAME_CUSTOM_FRAME_VIEW_ASH_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/frame/custom_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698