| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 void SizeConstraintsChanged() override; | 32 void SizeConstraintsChanged() override; |
| 33 | 33 |
| 34 // views::View: | 34 // views::View: |
| 35 gfx::Size GetMinimumSize() const override; | 35 gfx::Size GetMinimumSize() const override; |
| 36 | 36 |
| 37 protected: | 37 protected: |
| 38 // views::View: | 38 // views::View: |
| 39 void OnPaint(gfx::Canvas* canvas) override; | 39 void OnPaint(gfx::Canvas* canvas) override; |
| 40 | 40 |
| 41 // BrowserNonClientFrameView: | 41 // BrowserNonClientFrameView: |
| 42 void UpdateAvatar() override; | 42 void UpdateProfileIcons() override; |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 void PaintThemedFrame(gfx::Canvas* canvas); | 45 void PaintThemedFrame(gfx::Canvas* canvas); |
| 46 void PaintToolbarBackground(gfx::Canvas* canvas); | 46 void PaintToolbarBackground(gfx::Canvas* canvas); |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMac); | 48 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMac); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ | 51 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ |
| OLD | NEW |