|
a/WebCore/rendering/RenderMenuList.h_sec1
|
| 1 |
/* |
1 |
/* |
| 2 |
* This file is part of the select element renderer in WebCore. |
2 |
* This file is part of the select element renderer in WebCore. |
| 3 |
* |
3 |
* |
|
|
4 |
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 |
* Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
5 |
* Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 5 |
* |
6 |
* |
| 6 |
* This library is free software; you can redistribute it and/or |
7 |
* This library is free software; you can redistribute it and/or |
|
namespace WebCore {
a/WebCore/rendering/RenderMenuList.h_sec2
|
| 37 |
class PopupMenu; |
38 |
class PopupMenu; |
| 38 |
class RenderText; |
39 |
class RenderText; |
| 39 |
|
40 |
|
| 40 |
class RenderMenuList : public RenderFlexibleBox, private PopupMenuClient { |
41 |
class RenderMenuList : public RenderFlexibleBox, private ListPopupClient { |
| 41 |
public: |
42 |
public: |
| 42 |
RenderMenuList(Element*); |
43 |
RenderMenuList(Element*); |
| 43 |
virtual ~RenderMenuList(); |
44 |
virtual ~RenderMenuList(); |
|
private:
a/WebCore/rendering/RenderMenuList.h_sec3
|
| 97 |
virtual HostWindow* hostWindow() const; |
98 |
virtual HostWindow* hostWindow() const; |
| 98 |
virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarClient*, ScrollbarOrientation, ScrollbarControlSize); |
99 |
virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarClient*, ScrollbarOrientation, ScrollbarControlSize); |
| 99 |
|
100 |
|
|
|
101 |
virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true); |
| 102 |
virtual bool multiple(); |
| 103 |
|
| 100 |
virtual bool hasLineIfEmpty() const { return true; } |
104 |
virtual bool hasLineIfEmpty() const { return true; } |
| 101 |
|
105 |
|
| 102 |
Color itemBackgroundColor(unsigned listIndex) const; |
106 |
Color itemBackgroundColor(unsigned listIndex) const; |
| 103 |
- |
|
|