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

Side by Side Diff: Source/web/ChromeClientImpl.h

Issue 530653002: Use page popup pixel readback for calendar-picker-appearance.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline test Created 6 years, 2 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/testing/MockPagePopupDriver.h ('k') | Source/web/WebPagePopupImpl.h » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // ChromeClientImpl: 154 // ChromeClientImpl:
155 void setCursorForPlugin(const WebCursorInfo&); 155 void setCursorForPlugin(const WebCursorInfo&);
156 void setNewWindowNavigationPolicy(WebNavigationPolicy); 156 void setNewWindowNavigationPolicy(WebNavigationPolicy);
157 157
158 virtual bool hasOpenedPopup() const OVERRIDE; 158 virtual bool hasOpenedPopup() const OVERRIDE;
159 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const OVERRIDE; 159 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const OVERRIDE;
160 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); 160 PagePopup* openPagePopup(PagePopupClient*, const IntRect&);
161 void closePagePopup(PagePopup*); 161 void closePagePopup(PagePopup*);
162 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE; 162 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE;
163 virtual void resetPagePopupDriver() OVERRIDE; 163 virtual void resetPagePopupDriver() OVERRIDE;
164 virtual PagePopupDriver* pagePopupDriver() const OVERRIDE { return m_pagePop upDriver; }
164 165
165 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, Document::PageDismissalType) const OVERRIDE; 166 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, Document::PageDismissalType) const OVERRIDE;
166 167
167 virtual bool requestPointerLock() OVERRIDE; 168 virtual bool requestPointerLock() OVERRIDE;
168 virtual void requestPointerUnlock() OVERRIDE; 169 virtual void requestPointerUnlock() OVERRIDE;
169 170
170 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) OVERRIDE; 171 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&) OVERRIDE;
171 virtual void didChangeValueInTextField(HTMLFormControlElement&) OVERRIDE; 172 virtual void didChangeValueInTextField(HTMLFormControlElement&) OVERRIDE;
172 virtual void didEndEditingOnTextField(HTMLInputElement&) OVERRIDE; 173 virtual void didEndEditingOnTextField(HTMLInputElement&) OVERRIDE;
173 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) OVERRIDE; 174 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) OVERRIDE;
(...skipping 21 matching lines...) Expand all
195 bool m_resizable; 196 bool m_resizable;
196 197
197 PagePopupDriver* m_pagePopupDriver; 198 PagePopupDriver* m_pagePopupDriver;
198 }; 199 };
199 200
200 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
201 202
202 } // namespace blink 203 } // namespace blink
203 204
204 #endif 205 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.h ('k') | Source/web/WebPagePopupImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698