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

Side by Side Diff: Source/WebCore/platform/chromium/PopupContainer.h

Issue 10264016: Merge 114513 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | Source/WebCore/platform/chromium/PopupContainer.cpp » ('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 * Copyright (c) 2011, Google Inc. All rights reserved. 2 * Copyright (c) 2011, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 PopupListBox* listBox() const { return m_listBox.get(); } 93 PopupListBox* listBox() const { return m_listBox.get(); }
94 94
95 bool isRTL() const; 95 bool isRTL() const;
96 96
97 // Gets the index of the item that the user is currently moused-over or 97 // Gets the index of the item that the user is currently moused-over or
98 // has selected with the keyboard up/down arrows. 98 // has selected with the keyboard up/down arrows.
99 int selectedIndex() const; 99 int selectedIndex() const;
100 100
101 // Refresh the popup values from the PopupMenuClient. 101 // Refresh the popup values from the PopupMenuClient.
102 void refresh(const IntRect& targetControlRect); 102 IntRect refresh(const IntRect& targetControlRect);
103 103
104 // The menu per-item data. 104 // The menu per-item data.
105 const WTF::Vector<PopupItem*>& popupData() const; 105 const WTF::Vector<PopupItem*>& popupData() const;
106 106
107 // The height of a row in the menu. 107 // The height of a row in the menu.
108 int menuItemHeight() const; 108 int menuItemHeight() const;
109 109
110 // The size of the font being used. 110 // The size of the font being used.
111 int menuItemFontSize() const; 111 int menuItemFontSize() const;
112 112
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // the actual popup position through chromeClientChromium()). 145 // the actual popup position through chromeClientChromium()).
146 IntRect m_originalFrameRect; 146 IntRect m_originalFrameRect;
147 147
148 // Whether the popup is currently open. 148 // Whether the popup is currently open.
149 bool m_popupOpen; 149 bool m_popupOpen;
150 }; 150 };
151 151
152 } // namespace WebCore 152 } // namespace WebCore
153 153
154 #endif 154 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/platform/chromium/PopupContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698