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

Side by Side Diff: content/shell/renderer/test_runner/test_runner.h

Issue 305633005: Revert of Content side of languagechange event fired on accept languages changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/renderer/test_runner/test_runner.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 // Set the WebPreference that controls webkit's popup blocking. 312 // Set the WebPreference that controls webkit's popup blocking.
313 void SetPopupBlockingEnabled(bool block_popups); 313 void SetPopupBlockingEnabled(bool block_popups);
314 314
315 void SetJavaScriptCanAccessClipboard(bool can_access); 315 void SetJavaScriptCanAccessClipboard(bool can_access);
316 void SetXSSAuditorEnabled(bool enabled); 316 void SetXSSAuditorEnabled(bool enabled);
317 void SetAllowUniversalAccessFromFileURLs(bool allow); 317 void SetAllowUniversalAccessFromFileURLs(bool allow);
318 void SetAllowFileAccessFromFileURLs(bool allow); 318 void SetAllowFileAccessFromFileURLs(bool allow);
319 void OverridePreference(const std::string key, v8::Handle<v8::Value> value); 319 void OverridePreference(const std::string key, v8::Handle<v8::Value> value);
320 320
321 // Modify accept_languages in RendererPreferences.
322 void SetAcceptLanguages(const std::string& accept_languages);
323
324 // Enable or disable plugins. 321 // Enable or disable plugins.
325 void SetPluginsEnabled(bool enabled); 322 void SetPluginsEnabled(bool enabled);
326 323
327 /////////////////////////////////////////////////////////////////////////// 324 ///////////////////////////////////////////////////////////////////////////
328 // Methods that modify the state of TestRunner 325 // Methods that modify the state of TestRunner
329 326
330 // This function sets a flag that tells the test_shell to print a line of 327 // This function sets a flag that tells the test_shell to print a line of
331 // descriptive text for each editing command. It takes no arguments, and 328 // descriptive text for each editing command. It takes no arguments, and
332 // ignores any that may be present. 329 // ignores any that may be present.
333 void DumpEditingCallbacks(); 330 void DumpEditingCallbacks();
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 bool use_mock_theme_; 709 bool use_mock_theme_;
713 710
714 base::WeakPtrFactory<TestRunner> weak_factory_; 711 base::WeakPtrFactory<TestRunner> weak_factory_;
715 712
716 DISALLOW_COPY_AND_ASSIGN(TestRunner); 713 DISALLOW_COPY_AND_ASSIGN(TestRunner);
717 }; 714 };
718 715
719 } // namespace content 716 } // namespace content
720 717
721 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 718 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698