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

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

Issue 118453006: Mac: Send a synthetic mouseup event when <select> popup menu is opened. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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) 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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 } 861 }
862 862
863 bool ChromeClientImpl::hasOpenedPopup() const 863 bool ChromeClientImpl::hasOpenedPopup() const
864 { 864 {
865 return m_webView->hasOpenedPopup(); 865 return m_webView->hasOpenedPopup();
866 } 866 }
867 867
868 PassRefPtr<PopupMenu> ChromeClientImpl::createPopupMenu(Frame& frame, PopupMenuC lient* client) const 868 PassRefPtr<PopupMenu> ChromeClientImpl::createPopupMenu(Frame& frame, PopupMenuC lient* client) const
869 { 869 {
870 if (WebViewImpl::useExternalPopupMenus()) 870 if (WebViewImpl::useExternalPopupMenus())
871 return adoptRef(new ExternalPopupMenu(frame, client, m_webView->client() )); 871 return adoptRef(new ExternalPopupMenu(frame, client, *m_webView));
872 872
873 return adoptRef(new PopupMenuChromium(frame, client)); 873 return adoptRef(new PopupMenuChromium(frame, client));
874 } 874 }
875 875
876 PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRec t& originBoundsInRootView) 876 PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRec t& originBoundsInRootView)
877 { 877 {
878 ASSERT(m_pagePopupDriver); 878 ASSERT(m_pagePopupDriver);
879 return m_pagePopupDriver->openPagePopup(client, originBoundsInRootView); 879 return m_pagePopupDriver->openPagePopup(client, originBoundsInRootView);
880 } 880 }
881 881
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 { 1048 {
1049 } 1049 }
1050 1050
1051 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title) 1051 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title)
1052 { 1052 {
1053 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); 1053 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title);
1054 } 1054 }
1055 #endif 1055 #endif
1056 1056
1057 } // namespace blink 1057 } // namespace blink
OLDNEW
« no previous file with comments | « LayoutTests/platform/mac/fast/forms/select/menulist-click-expected.txt ('k') | Source/web/ExternalPopupMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698