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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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
OLDNEW
1 /* 1 /*
2 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * Copyright (C) 2009 Kenneth Rohde Christiansen 10 * Copyright (C) 2009 Kenneth Rohde Christiansen
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual Color platformActiveSelectionForegroundColor() const override; 52 virtual Color platformActiveSelectionForegroundColor() const override;
53 virtual Color platformInactiveSelectionForegroundColor() const override; 53 virtual Color platformInactiveSelectionForegroundColor() const override;
54 54
55 virtual IntSize sliderTickSize() const override; 55 virtual IntSize sliderTickSize() const override;
56 virtual int sliderTickOffsetFromTrackCenter() const override; 56 virtual int sliderTickOffsetFromTrackCenter() const override;
57 virtual void adjustSliderThumbSize(RenderStyle&, Element*) const override; 57 virtual void adjustSliderThumbSize(RenderStyle&, Element*) const override;
58 58
59 static void setCaretBlinkInterval(double); 59 static void setCaretBlinkInterval(double);
60 virtual double caretBlinkIntervalInternal() const override; 60 virtual double caretBlinkIntervalInternal() const override;
61 61
62 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&) override; 62 virtual bool paintCheckbox(LayoutObject*, const PaintInfo&, const IntRect&) override;
63 virtual void setCheckboxSize(RenderStyle&) const override; 63 virtual void setCheckboxSize(RenderStyle&) const override;
64 64
65 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&) ove rride; 65 virtual bool paintRadio(LayoutObject*, const PaintInfo&, const IntRect&) ove rride;
66 virtual void setRadioSize(RenderStyle&) const override; 66 virtual void setRadioSize(RenderStyle&) const override;
67 67
68 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&) ov erride; 68 virtual bool paintButton(LayoutObject*, const PaintInfo&, const IntRect&) ov erride;
69 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&) override; 69 virtual bool paintTextField(LayoutObject*, const PaintInfo&, const IntRect&) override;
70 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&) override; 70 virtual bool paintMenuList(LayoutObject*, const PaintInfo&, const IntRect&) override;
71 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntR ect&) override; 71 virtual bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntR ect&) override;
72 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect &) override; 72 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect &) override;
73 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect &) override; 73 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect &) override;
74 74
75 virtual void adjustInnerSpinButtonStyle(RenderStyle&, Element*) const overri de; 75 virtual void adjustInnerSpinButtonStyle(RenderStyle&, Element*) const overri de;
76 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const Int Rect&) override; 76 virtual bool paintInnerSpinButton(LayoutObject*, const PaintInfo&, const Int Rect&) override;
77 77
78 virtual bool popsMenuBySpaceKey() const override final { return true; } 78 virtual bool popsMenuBySpaceKey() const override final { return true; }
79 virtual bool popsMenuByReturnKey() const override final { return true; } 79 virtual bool popsMenuByReturnKey() const override final { return true; }
80 virtual bool popsMenuByAltDownUpOrF4Key() const override { return true; } 80 virtual bool popsMenuByAltDownUpOrF4Key() const override { return true; }
81 81
82 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect &) override; 82 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect &) override;
83 83
84 virtual bool shouldOpenPickerWithF4Key() const override; 84 virtual bool shouldOpenPickerWithF4Key() const override;
85 85
86 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground Color); 86 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground Color);
87 87
88 protected: 88 protected:
89 LayoutThemeChromiumDefault(); 89 LayoutThemeChromiumDefault();
90 virtual ~LayoutThemeChromiumDefault(); 90 virtual ~LayoutThemeChromiumDefault();
91 virtual bool shouldUseFallbackTheme(const RenderStyle&) const override; 91 virtual bool shouldUseFallbackTheme(const RenderStyle&) const override;
92 92
93 private: 93 private:
94 static double m_caretBlinkInterval; 94 static double m_caretBlinkInterval;
95 95
96 static unsigned m_activeSelectionBackgroundColor; 96 static unsigned m_activeSelectionBackgroundColor;
97 static unsigned m_activeSelectionForegroundColor; 97 static unsigned m_activeSelectionForegroundColor;
98 static unsigned m_inactiveSelectionBackgroundColor; 98 static unsigned m_inactiveSelectionBackgroundColor;
99 static unsigned m_inactiveSelectionForegroundColor; 99 static unsigned m_inactiveSelectionForegroundColor;
100 }; 100 };
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif // LayoutThemeChromiumDefault_h 104 #endif // LayoutThemeChromiumDefault_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutThemeChromiumAndroid.cpp ('k') | Source/core/layout/LayoutThemeChromiumDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698