| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2010 Google Inc. All rights reserved. | 2  * Copyright (C) 2010 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 42 #include "WebInputEvent.h" | 42 #include "WebInputEvent.h" | 
| 43 #include "WebPopupMenuImpl.h" | 43 #include "WebPopupMenuImpl.h" | 
| 44 #include "WebSettings.h" | 44 #include "WebSettings.h" | 
| 45 #include "WebView.h" | 45 #include "WebView.h" | 
| 46 #include "WebViewClient.h" | 46 #include "WebViewClient.h" | 
| 47 #include "WebViewImpl.h" | 47 #include "WebViewImpl.h" | 
| 48 #include "core/dom/Element.h" | 48 #include "core/dom/Element.h" | 
| 49 #include "core/frame/FrameView.h" | 49 #include "core/frame/FrameView.h" | 
| 50 #include "core/html/HTMLSelectElement.h" | 50 #include "core/html/HTMLSelectElement.h" | 
| 51 #include "core/page/EventHandler.h" | 51 #include "core/page/EventHandler.h" | 
| 52 #include "core/platform/chromium/KeyboardCodes.h" | 52 #include "platform/KeyboardCodes.h" | 
| 53 #include "platform/PlatformMouseEvent.h" | 53 #include "platform/PlatformMouseEvent.h" | 
| 54 #include "platform/PopupMenuClient.h" | 54 #include "platform/PopupMenuClient.h" | 
| 55 #include "platform/PopupMenu.h" | 55 #include "platform/PopupMenu.h" | 
| 56 #include "platform/graphics/Color.h" | 56 #include "platform/graphics/Color.h" | 
| 57 #include "public/platform/Platform.h" | 57 #include "public/platform/Platform.h" | 
| 58 #include "public/platform/WebScreenInfo.h" | 58 #include "public/platform/WebScreenInfo.h" | 
| 59 #include "public/platform/WebString.h" | 59 #include "public/platform/WebString.h" | 
| 60 #include "public/platform/WebURL.h" | 60 #include "public/platform/WebURL.h" | 
| 61 #include "public/platform/WebURLRequest.h" | 61 #include "public/platform/WebURLRequest.h" | 
| 62 #include "public/platform/WebURLResponse.h" | 62 #include "public/platform/WebURLResponse.h" | 
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 504     // menuItemHeight * 1.5 means the Y position on the item at index 1. | 504     // menuItemHeight * 1.5 means the Y position on the item at index 1. | 
| 505     IntPoint row1Point(2, menuItemHeight * 1.5); | 505     IntPoint row1Point(2, menuItemHeight * 1.5); | 
| 506     simulateLeftMouseDownEvent(row1Point); | 506     simulateLeftMouseDownEvent(row1Point); | 
| 507     simulateLeftMouseUpEvent(row1Point); | 507     simulateLeftMouseUpEvent(row1Point); | 
| 508 | 508 | 
| 509     WebElement element = m_webView->mainFrame()->document().getElementById("mess
     age"); | 509     WebElement element = m_webView->mainFrame()->document().getElementById("mess
     age"); | 
| 510     EXPECT_STREQ("click", element.innerText().utf8().data()); | 510     EXPECT_STREQ("click", element.innerText().utf8().data()); | 
| 511 } | 511 } | 
| 512 | 512 | 
| 513 } // namespace | 513 } // namespace | 
| OLD | NEW | 
|---|