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

Side by Side Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 11421066: Refactor PPB_Flash_Fullscreen to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 // 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 "chrome/test/ppapi/ppapi_test.h" 5 #include "chrome/test/ppapi/ppapi_test.h"
6 6
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 "chrome/browser/content_settings/host_content_settings_map.h" 9 #include "chrome/browser/content_settings/host_content_settings_map.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 // PPAPINaClTest.FileSystem times out consistently on Windows and Mac. 568 // PPAPINaClTest.FileSystem times out consistently on Windows and Mac.
569 // http://crbug.com/130372 569 // http://crbug.com/130372
570 #if defined(OS_MACOSX) || defined(OS_WIN) 570 #if defined(OS_MACOSX) || defined(OS_WIN)
571 #define MAYBE_FileSystem DISABLED_FileSystem 571 #define MAYBE_FileSystem DISABLED_FileSystem
572 #else 572 #else
573 #define MAYBE_FileSystem FileSystem 573 #define MAYBE_FileSystem FileSystem
574 #endif 574 #endif
575 575
576 TEST_PPAPI_NACL_VIA_HTTP(MAYBE_FileSystem) 576 TEST_PPAPI_NACL_VIA_HTTP(MAYBE_FileSystem)
577 577
578 // Mac/Aura reach NOTIMPLEMENTED/time out.
579 // Other systems work in-process, but flake out-of-process because of the
580 // asyncronous nature of the proxy.
581 // mac: http://crbug.com/96767
582 // aura: http://crbug.com/104384
583 // async flakiness: http://crbug.com/108471
584 #if defined(OS_MACOSX) || defined(USE_AURA)
585 #define MAYBE_FlashFullscreen DISABLED_FlashFullscreen
586 #define MAYBE_OutOfProcessFlashFullscreen DISABLED_FlashFullscreen
587 #else
588 #define MAYBE_FlashFullscreen FlashFullscreen
589 #define MAYBE_OutOfProcessFlashFullscreen FlashFullscreen
590 #endif
591
592 IN_PROC_BROWSER_TEST_F(PPAPITest, MAYBE_FlashFullscreen) {
593 RunTestViaHTTP("FlashFullscreen");
594 }
595 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, MAYBE_OutOfProcessFlashFullscreen) {
596 RunTestViaHTTP("FlashFullscreen");
597 }
598
599 #if defined(OS_MACOSX) 578 #if defined(OS_MACOSX)
600 // http://crbug.com/103912 579 // http://crbug.com/103912
601 #define MAYBE_Fullscreen DISABLED_Fullscreen 580 #define MAYBE_Fullscreen DISABLED_Fullscreen
602 #elif defined(OS_LINUX) 581 #elif defined(OS_LINUX)
603 // http://crbug.com/146008 582 // http://crbug.com/146008
604 #define MAYBE_Fullscreen DISABLED_Fullscreen 583 #define MAYBE_Fullscreen DISABLED_Fullscreen
605 #else 584 #else
606 #define MAYBE_Fullscreen Fullscreen 585 #define MAYBE_Fullscreen Fullscreen
607 #endif 586 #endif
608 587
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 // - dmichael 890 // - dmichael
912 // MessageLoop_Post starts a thread so only run it if pepper threads are 891 // MessageLoop_Post starts a thread so only run it if pepper threads are
913 // enabled. 892 // enabled.
914 #ifdef ENABLE_PEPPER_THREADING 893 #ifdef ENABLE_PEPPER_THREADING
915 TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Post) 894 TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Post)
916 #endif 895 #endif
917 896
918 // Going forward, Flash APIs will only work out-of-process. 897 // Going forward, Flash APIs will only work out-of-process.
919 TEST_PPAPI_OUT_OF_PROCESS(FlashClipboard) 898 TEST_PPAPI_OUT_OF_PROCESS(FlashClipboard)
920 TEST_PPAPI_OUT_OF_PROCESS(FlashFile_CreateTemporaryFile) 899 TEST_PPAPI_OUT_OF_PROCESS(FlashFile_CreateTemporaryFile)
900 // Mac/Aura reach NOTIMPLEMENTED/time out.
901 // mac: http://crbug.com/96767
902 // aura: http://crbug.com/104384
903 #if defined(OS_MACOSX) || defined(USE_AURA)
904 #define MAYBE_FlashFullscreen DISABLED_FlashFullscreen
905 #else
906 #define MAYBE_FlashFullscreen FlashFullscreen
907 #endif
908 TEST_PPAPI_OUT_OF_PROCESS(MAYBE_FlashFullscreen)
921 909
922 TEST_PPAPI_IN_PROCESS(TalkPrivate) 910 TEST_PPAPI_IN_PROCESS(TalkPrivate)
923 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 911 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
924 912
925 #endif // ADDRESS_SANITIZER 913 #endif // ADDRESS_SANITIZER
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698