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

Unified Diff: ui/views/window/frame_background.h

Issue 1624773002: Clean up frame code a bit: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync, fix compile Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/window/frame_background.h
diff --git a/ui/views/window/frame_background.h b/ui/views/window/frame_background.h
index c2278c10c9694728de064ad2b7040ae248275714..757b6d4b32473d90bce122185f31352b17692608 100644
--- a/ui/views/window/frame_background.h
+++ b/ui/views/window/frame_background.h
@@ -64,15 +64,15 @@ class VIEWS_EXPORT FrameBackground {
// Paints the border for a standard, non-maximized window. Also paints the
// background of the title bar area, since the top frame border and the
// title bar background are a contiguous component.
- void PaintRestored(gfx::Canvas* canvas, View* view) const;
+ void PaintRestored(gfx::Canvas* canvas, const View* view) const;
// Paints the border for a maximized window, which does not include the
// window edges.
- void PaintMaximized(gfx::Canvas* canvas, View* view) const;
+ void PaintMaximized(gfx::Canvas* canvas, const View* view) const;
private:
// Fills the frame area with the frame color.
- void PaintFrameColor(gfx::Canvas* canvas, View* view) const;
+ void PaintFrameColor(gfx::Canvas* canvas, const View* view) const;
SkColor frame_color_;
const gfx::ImageSkia* theme_image_;
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc ('k') | ui/views/window/frame_background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698