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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 virtual void clearCompositedSelectionBounds() { } 190 virtual void clearCompositedSelectionBounds() { }
191 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound& anchor, const CompositedSelectionBound& focus) { } 191 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound& anchor, const CompositedSelectionBound& focus) { }
192 192
193 virtual void needTouchEvents(bool) = 0; 193 virtual void needTouchEvents(bool) = 0;
194 194
195 virtual void setTouchAction(TouchAction) = 0; 195 virtual void setTouchAction(TouchAction) = 0;
196 196
197 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 197 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
198 virtual bool hasOpenedPopup() const = 0; 198 virtual bool hasOpenedPopup() const = 0;
199 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const = 0; 199 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) = 0;
200 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 200 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
201 201
202 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { } 202 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { }
203 virtual String acceptLanguages() = 0; 203 virtual String acceptLanguages() = 0;
204 204
205 enum DialogType { 205 enum DialogType {
206 AlertDialog = 0, 206 AlertDialog = 0,
207 ConfirmDialog = 1, 207 ConfirmDialog = 1,
208 PromptDialog = 2, 208 PromptDialog = 2,
209 HTMLDialog = 3 209 HTMLDialog = 3
(...skipping 25 matching lines...) Expand all
235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
236 virtual void showImeIfNeeded() { } 236 virtual void showImeIfNeeded() { }
237 237
238 protected: 238 protected:
239 virtual ~ChromeClient() { } 239 virtual ~ChromeClient() { }
240 }; 240 };
241 241
242 } // namespace blink 242 } // namespace blink
243 243
244 #endif // ChromeClient_h 244 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698