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

Side by Side Diff: Source/core/layout/LayoutThemeMac.h

Issue 952593003: Remove argument to progress bar timing methods on LayoutTheme. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutThemeDefault.cpp ('k') | Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005 Apple Computer, Inc. 4 * Copyright (C) 2005 Apple Computer, Inc.
5 * Copyright (C) 2008, 2009 Google, Inc. 5 * Copyright (C) 2008, 2009 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual bool paintCapsLockIndicator(LayoutObject*, const PaintInfo&, const I ntRect&) override; 71 virtual bool paintCapsLockIndicator(LayoutObject*, const PaintInfo&, const I ntRect&) override;
72 72
73 virtual bool popsMenuByArrowKeys() const override { return true; } 73 virtual bool popsMenuByArrowKeys() const override { return true; }
74 virtual bool popsMenuBySpaceKey() const override final { return true; } 74 virtual bool popsMenuBySpaceKey() const override final { return true; }
75 75
76 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const override; 76 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const override;
77 virtual bool paintMeter(LayoutObject*, const PaintInfo&, const IntRect&) ove rride; 77 virtual bool paintMeter(LayoutObject*, const PaintInfo&, const IntRect&) ove rride;
78 virtual bool supportsMeter(ControlPart) const override; 78 virtual bool supportsMeter(ControlPart) const override;
79 79
80 // Returns the repeat interval of the animation for the progress bar. 80 // Returns the repeat interval of the animation for the progress bar.
81 virtual double animationRepeatIntervalForProgressBar(LayoutProgress*) const override; 81 virtual double animationRepeatIntervalForProgressBar() const override;
82 // Returns the duration of the animation for the progress bar. 82 // Returns the duration of the animation for the progress bar.
83 virtual double animationDurationForProgressBar(LayoutProgress*) const overri de; 83 virtual double animationDurationForProgressBar() const override;
84 84
85 virtual Color systemColor(CSSValueID) const override; 85 virtual Color systemColor(CSSValueID) const override;
86 86
87 virtual bool supportsSelectionForegroundColors() const override { return fal se; } 87 virtual bool supportsSelectionForegroundColors() const override { return fal se; }
88 88
89 virtual bool isModalColorChooser() const { return false; } 89 virtual bool isModalColorChooser() const { return false; }
90 90
91 protected: 91 protected:
92 LayoutThemeMac(); 92 LayoutThemeMac();
93 virtual ~LayoutThemeMac(); 93 virtual ~LayoutThemeMac();
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 mutable RetainPtr<NSTextFieldCell> m_textField; 200 mutable RetainPtr<NSTextFieldCell> m_textField;
201 201
202 mutable HashMap<int, RGBA32> m_systemColorCache; 202 mutable HashMap<int, RGBA32> m_systemColorCache;
203 203
204 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; 204 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver;
205 }; 205 };
206 206
207 } // namespace blink 207 } // namespace blink
208 208
209 #endif // LayoutThemeMac_h 209 #endif // LayoutThemeMac_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutThemeDefault.cpp ('k') | Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698