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

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

Issue 2268863006: Fix the issue of app window frame header buttons not being repainted when its activation state chan… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: 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/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_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ 5 #ifndef ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_
6 #define ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ 6 #define ASH_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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // views::NonClientFrameView: 51 // views::NonClientFrameView:
52 gfx::Rect GetBoundsForClientView() const override; 52 gfx::Rect GetBoundsForClientView() const override;
53 gfx::Rect GetWindowBoundsForClientBounds( 53 gfx::Rect GetWindowBoundsForClientBounds(
54 const gfx::Rect& client_bounds) const override; 54 const gfx::Rect& client_bounds) const override;
55 int NonClientHitTest(const gfx::Point& point) override; 55 int NonClientHitTest(const gfx::Point& point) override;
56 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; 56 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override;
57 void ResetWindowControls() override; 57 void ResetWindowControls() override;
58 void UpdateWindowIcon() override; 58 void UpdateWindowIcon() override;
59 void UpdateWindowTitle() override; 59 void UpdateWindowTitle() override;
60 void SizeConstraintsChanged() override; 60 void SizeConstraintsChanged() override;
61 void ActivationChanged(bool active) override;
61 62
62 // views::View: 63 // views::View:
63 gfx::Size GetPreferredSize() const override; 64 gfx::Size GetPreferredSize() const override;
64 void Layout() override; 65 void Layout() override;
65 const char* GetClassName() const override; 66 const char* GetClassName() const override;
66 gfx::Size GetMinimumSize() const override; 67 gfx::Size GetMinimumSize() const override;
67 gfx::Size GetMaximumSize() const override; 68 gfx::Size GetMaximumSize() const override;
68 void SchedulePaintInRect(const gfx::Rect& r) override; 69 void SchedulePaintInRect(const gfx::Rect& r) override;
69 void VisibilityChanged(views::View* starting_from, bool is_visible) override; 70 void VisibilityChanged(views::View* starting_from, bool is_visible) override;
70 71
(...skipping 27 matching lines...) Expand all
98 // Updates the hittest bounds overrides based on the window state type. 99 // Updates the hittest bounds overrides based on the window state type.
99 std::unique_ptr<FrameBorderHitTestController> 100 std::unique_ptr<FrameBorderHitTestController>
100 frame_border_hit_test_controller_; 101 frame_border_hit_test_controller_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); 103 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh);
103 }; 104 };
104 105
105 } // namespace ash 106 } // namespace ash
106 107
107 #endif // ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_ 108 #endif // ASH_FRAME_CUSTOM_FRAME_VIEW_ASH_H_
OLDNEW
« no previous file with comments | « no previous file | ash/frame/custom_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698