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

Side by Side Diff: webkit/tools/test_shell/test_shell.cc

Issue 202058: WebSocket implementation in Chromium. (Closed)
Patch Set: update Created 11 years, 2 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #undef LOG 5 #undef LOG
6 6
7 #include "webkit/tools/test_shell/test_shell.h" 7 #include "webkit/tools/test_shell/test_shell.h"
8 8
9 #include "app/gfx/codec/png_codec.h" 9 #include "app/gfx/codec/png_codec.h"
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 // It's off by default for Chrome, but we don't want to 420 // It's off by default for Chrome, but we don't want to
421 // lose the coverage of dynamic font tests in webkit test. 421 // lose the coverage of dynamic font tests in webkit test.
422 web_prefs_->remote_fonts_enabled = true; 422 web_prefs_->remote_fonts_enabled = true;
423 web_prefs_->local_storage_enabled = true; 423 web_prefs_->local_storage_enabled = true;
424 web_prefs_->session_storage_enabled = true; 424 web_prefs_->session_storage_enabled = true;
425 web_prefs_->application_cache_enabled = true; 425 web_prefs_->application_cache_enabled = true;
426 web_prefs_->databases_enabled = true; 426 web_prefs_->databases_enabled = true;
427 // LayoutTests were written with Safari Mac in mind which does not allow 427 // LayoutTests were written with Safari Mac in mind which does not allow
428 // tabbing to links by default. 428 // tabbing to links by default.
429 web_prefs_->tabs_to_links = false; 429 web_prefs_->tabs_to_links = false;
430 web_prefs_->web_sockets_enabled = true;
430 431
431 // Allow those layout tests running as local files, i.e. under 432 // Allow those layout tests running as local files, i.e. under
432 // LayoutTests/http/tests/local, to access http server. 433 // LayoutTests/http/tests/local, to access http server.
433 if (layout_test_mode_) 434 if (layout_test_mode_)
434 web_prefs_->allow_universal_access_from_file_urls = true; 435 web_prefs_->allow_universal_access_from_file_urls = true;
435 } 436 }
436 } 437 }
437 438
438 // static 439 // static
439 bool TestShell::RemoveWindowFromList(gfx::NativeWindow window) { 440 bool TestShell::RemoveWindowFromList(gfx::NativeWindow window) {
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 686
686 void CloseIdleConnections() { 687 void CloseIdleConnections() {
687 // Used in benchmarking, Ignored for test_shell. 688 // Used in benchmarking, Ignored for test_shell.
688 } 689 }
689 690
690 void SetCacheMode(bool enabled) { 691 void SetCacheMode(bool enabled) {
691 // Used in benchmarking, Ignored for test_shell. 692 // Used in benchmarking, Ignored for test_shell.
692 } 693 }
693 694
694 } // namespace webkit_glue 695 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_socket_stream_bridge.cc ('k') | webkit/tools/test_shell/test_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698