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

Side by Side Diff: chrome/test/ui/ppapi_uitest.cc

Issue 9558009: Add HandleInputEventAck message to allow out-of-process plugins to respond to user gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « no previous file | ppapi/proxy/ppapi_messages.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 #include "content/common/pepper_plugin_registry.h" 10 #include "content/common/pepper_plugin_registry.h"
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 #define MAYBE_OutOfProcessFlashFullscreen FlashFullscreen 631 #define MAYBE_OutOfProcessFlashFullscreen FlashFullscreen
632 #endif 632 #endif
633 633
634 TEST_F(PPAPITest, MAYBE_FlashFullscreen) { 634 TEST_F(PPAPITest, MAYBE_FlashFullscreen) {
635 RunTestViaHTTP("FlashFullscreen"); 635 RunTestViaHTTP("FlashFullscreen");
636 } 636 }
637 TEST_F(OutOfProcessPPAPITest, MAYBE_OutOfProcessFlashFullscreen) { 637 TEST_F(OutOfProcessPPAPITest, MAYBE_OutOfProcessFlashFullscreen) {
638 RunTestViaHTTP("FlashFullscreen"); 638 RunTestViaHTTP("FlashFullscreen");
639 } 639 }
640 640
641 // http://crbug.com/107175. 641 TEST_PPAPI_IN_PROCESS_VIA_HTTP(Fullscreen)
642 #if defined(OS_MACOSX) || defined(OS_CHROMEOS) || defined(OS_LINUX) 642 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(Fullscreen)
643 #define MAYBE_Fullscreen FAILS_Fullscreen
644 #else
645 #define MAYBE_Fullscreen Fullscreen
646 #endif
647
648 // TODO(bbudge) Fix fullscreen on Mac.
649 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen)
650 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture.
651 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen)
652 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied.
653 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_Fullscreen)
654 643
655 TEST_PPAPI_IN_PROCESS(FlashClipboard) 644 TEST_PPAPI_IN_PROCESS(FlashClipboard)
656 TEST_PPAPI_OUT_OF_PROCESS(FlashClipboard) 645 TEST_PPAPI_OUT_OF_PROCESS(FlashClipboard)
657 646
658 // http://crbug.com/63239 647 // http://crbug.com/63239
659 #if defined(OS_POSIX) 648 #if defined(OS_POSIX)
660 #define MAYBE_DirectoryReader DISABLED_DirectoryReader 649 #define MAYBE_DirectoryReader DISABLED_DirectoryReader
661 #else 650 #else
662 #define MAYBE_DirectoryReader DirectoryReader 651 #define MAYBE_DirectoryReader DirectoryReader
663 #endif 652 #endif
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess) 871 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess)
883 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray) 872 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray)
884 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement) 873 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement)
885 874
886 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics) 875 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics)
887 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit) 876 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit)
888 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics) 877 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics)
889 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit) 878 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit)
890 879
891 #endif // ADDRESS_SANITIZER 880 #endif // ADDRESS_SANITIZER
OLDNEW
« no previous file with comments | « no previous file | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698