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

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

Issue 549213: Add UI to TestShell to enable/disable images, plugins, and scripts.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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 | « webkit/tools/test_shell/test_shell.h ('k') | webkit/tools/test_shell/test_shell_win.cc » ('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) 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 : m_mainWnd(NULL), 112 : m_mainWnd(NULL),
113 m_editWnd(NULL), 113 m_editWnd(NULL),
114 m_webViewHost(NULL), 114 m_webViewHost(NULL),
115 m_popupHost(NULL), 115 m_popupHost(NULL),
116 m_focusedWidgetHost(NULL), 116 m_focusedWidgetHost(NULL),
117 #if defined(OS_WIN) 117 #if defined(OS_WIN)
118 default_edit_wnd_proc_(0), 118 default_edit_wnd_proc_(0),
119 #endif 119 #endif
120 test_params_(NULL), 120 test_params_(NULL),
121 is_modal_(false), 121 is_modal_(false),
122 is_loading_(false),
123 allow_images_(true),
124 allow_plugins_(true),
125 allow_scripts_(true),
122 dump_stats_table_on_exit_(false) { 126 dump_stats_table_on_exit_(false) {
123 accessibility_controller_.reset(new AccessibilityController(this)); 127 accessibility_controller_.reset(new AccessibilityController(this));
124 delegate_.reset(new TestWebViewDelegate(this)); 128 delegate_.reset(new TestWebViewDelegate(this));
125 popup_delegate_.reset(new TestWebViewDelegate(this)); 129 popup_delegate_.reset(new TestWebViewDelegate(this));
126 layout_test_controller_.reset(new LayoutTestController(this)); 130 layout_test_controller_.reset(new LayoutTestController(this));
127 event_sending_controller_.reset(new EventSendingController(this)); 131 event_sending_controller_.reset(new EventSendingController(this));
128 plain_text_controller_.reset(new PlainTextController(this)); 132 plain_text_controller_.reset(new PlainTextController(this));
129 text_input_controller_.reset(new TextInputController(this)); 133 text_input_controller_.reset(new TextInputController(this));
130 navigation_controller_.reset(new TestNavigationController(this)); 134 navigation_controller_.reset(new TestNavigationController(this));
131 135
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 768
765 void CloseCurrentConnections() { 769 void CloseCurrentConnections() {
766 // Used in benchmarking, Ignored for test_shell. 770 // Used in benchmarking, Ignored for test_shell.
767 } 771 }
768 772
769 void SetCacheMode(bool enabled) { 773 void SetCacheMode(bool enabled) {
770 // Used in benchmarking, Ignored for test_shell. 774 // Used in benchmarking, Ignored for test_shell.
771 } 775 }
772 776
773 } // namespace webkit_glue 777 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell.h ('k') | webkit/tools/test_shell/test_shell_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698