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

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

Issue 10267006: Merge 113418 (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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 IntRect layoutAndCalculateWidgetRect(int targetControlHeight, const IntPoint & popupInitialCoordinate); 131 IntRect layoutAndCalculateWidgetRect(int targetControlHeight, const IntPoint & popupInitialCoordinate);
132 132
133 // Returns the ChromeClient of the page this popup is associated with. 133 // Returns the ChromeClient of the page this popup is associated with.
134 ChromeClientChromium* chromeClientChromium(); 134 ChromeClientChromium* chromeClientChromium();
135 135
136 RefPtr<PopupListBox> m_listBox; 136 RefPtr<PopupListBox> m_listBox;
137 RefPtr<FrameView> m_frameView; 137 RefPtr<FrameView> m_frameView;
138 138
139 PopupContainerSettings m_settings; 139 PopupContainerSettings m_settings;
140 PopupType m_popupType; 140 PopupType m_popupType;
141
142 // This contains the "ideal" dimensions and position for the popup
143 // (PopupContainer's frameRect() location should always be (0, 0), since
144 // it is rendered inside (and relative to) a WebWidget, which should get
145 // the actual popup position through chromeClientChromium()).
141 IntRect m_originalFrameRect; 146 IntRect m_originalFrameRect;
147
142 // Whether the popup is currently open. 148 // Whether the popup is currently open.
143 bool m_popupOpen; 149 bool m_popupOpen;
144 }; 150 };
145 151
146 } // namespace WebCore 152 } // namespace WebCore
147 153
148 #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