Changeset 109816 in webkit
- Timestamp:
- Mar 5, 2012 4:45:37 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r109778 r109816 1 2012-03-05 Kent Tamura <tkent@chromium.org> 2 3 [Chromium] Add new popup type: PagePopup 4 https://bugs.webkit.org/show_bug.cgi?id=80106 5 6 Reviewed by Darin Fisher. 7 8 This is a preparation of implementing ChromeClient::openPagePopup and 9 closePagePopup. 10 11 * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp. 12 * public/WebPagePopup.h: 13 (WebPagePopup): Add WebPagePopup interface. 14 * public/WebPopupType.h: Add WebPopupTypePage. 15 * src/WebPagePopupImpl.cpp: 16 (WebKit::WebPagePopup::create): Temprary implementation which just returns 0. 17 1 18 2012-03-05 Charlie Reis <creis@chromium.org> 2 19 -
trunk/Source/WebKit/chromium/WebKit.gyp
r108877 r109816 216 216 'public/WebOptionElement.h', 217 217 'public/WebPageOverlay.h', 218 'public/WebPagePopup.h', 218 219 'public/WebPageSerializer.h', 219 220 'public/WebPageSerializerClient.h', … … 616 617 'src/WebNotification.cpp', 617 618 'src/WebOptionElement.cpp', 619 'src/WebPagePopupImpl.cpp', 618 620 'src/WebPageSerializer.cpp', 619 621 'src/WebPageSerializerImpl.cpp', -
trunk/Source/WebKit/chromium/public/WebPagePopup.h
r109815 r109816 1 1 /* 2 * Copyright (C) 201 0Google Inc. All rights reserved.2 * Copyright (C) 2012 Google Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 29 29 */ 30 30 31 #ifndef WebPopupType_h 32 #define WebPopupType_h 31 #ifndef WebPagePopup_h 32 #define WebPagePopup_h 33 34 #include "WebWidget.h" 35 #include "platform/WebCommon.h" 33 36 34 37 namespace WebKit { 35 38 36 enum WebPopupType { 37 WebPopupTypeNone, // Not a popup. 38 WebPopupTypeSelect, // A HTML select (combo-box) popup. 39 WebPopupTypeSuggestion, // An autofill/autocomplete popup. 39 class WebWidgetClient; 40 41 class WebPagePopup : public WebWidget { 42 public: 43 WEBKIT_EXPORT static WebPagePopup* create(WebWidgetClient*); 40 44 }; 41 45 -
trunk/Source/WebKit/chromium/public/WebPopupType.h
r95901 r109816 36 36 enum WebPopupType { 37 37 WebPopupTypeNone, // Not a popup. 38 WebPopupTypeSelect, // A HTML select (combo-box) popup.38 WebPopupTypeSelect, // An HTML select (combo-box) popup. 39 39 WebPopupTypeSuggestion, // An autofill/autocomplete popup. 40 WebPopupTypePage, // An HTML-capable popup. 40 41 }; 41 42 -
trunk/Source/WebKit/chromium/src/WebPagePopupImpl.cpp
r109815 r109816 1 1 /* 2 * Copyright (C) 20 10Google Inc. All rights reserved.2 * Copyright (C) 2009 Google Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 29 29 */ 30 30 31 #ifndef WebPopupType_h 32 #define WebPopupType_h 31 #include "config.h" 32 33 #include "WebPagePopup.h" 33 34 34 35 namespace WebKit { 35 36 36 enum WebPopupType { 37 WebPopupTypeNone, // Not a popup. 38 WebPopupTypeSelect, // A HTML select (combo-box) popup. 39 WebPopupTypeSuggestion, // An autofill/autocomplete popup. 40 }; 37 // WebPagePopupImpl ---------------------------------------------------------------- 38 39 // FIXME: WebPagePopupImpl implementation will be written here. 40 41 // WebPagePopup ---------------------------------------------------------------- 42 43 WebPagePopup* WebPagePopup::create(WebWidgetClient*) 44 { 45 // FIXME: Returns a WebPagePopupImpl object. 46 return 0; 47 } 41 48 42 49 } // namespace WebKit 43 44 #endif -
trunk/Tools/ChangeLog
r109815 r109816 1 2012-03-05 Kent Tamura <tkent@chromium.org> 2 3 [Chromium] Add new popup type: PagePopup 4 https://bugs.webkit.org/show_bug.cgi?id=80106 5 6 Reviewed by Darin Fisher. 7 8 * DumpRenderTree/chromium/WebViewHost.cpp: 9 (WebViewHost::createPopupMenu): 10 1 11 2012-03-05 Jessie Berlin <jberlin@apple.com> 2 12 -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp
r109778 r109816 256 256 switch (type) { 257 257 case WebKit::WebPopupTypeNone: 258 case WebKit::WebPopupTypePage: 258 259 break; 259 260 case WebKit::WebPopupTypeSelect:
Note: See TracChangeset
for help on using the changeset viewer.