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

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 15179002: Remove code that is unused after ContextMenu cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove canHandleRequest code from DRT Created 7 years, 7 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 | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/editing/Editor.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) 323 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow)
324 { 324 {
325 m_settings->setAllowUniversalAccessFromFileURLs(allow); 325 m_settings->setAllowUniversalAccessFromFileURLs(allow);
326 } 326 }
327 327
328 void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow) 328 void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow)
329 { 329 {
330 m_settings->setAllowFileAccessFromFileURLs(allow); 330 m_settings->setAllowFileAccessFromFileURLs(allow);
331 } 331 }
332 332
333 void WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded()
334 {
335 // FIXME: If you ever need more behaviors than this, then we should probably
336 // define an enum in WebSettings.h and have a switch statement that
337 // translates. Until then, this is probably fine, though.
338 m_settings->setTextDirectionSubmenuInclusionBehavior(WebCore::TextDirectionS ubmenuNeverIncluded);
339 }
340
341 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) 333 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled)
342 { 334 {
343 m_settings->setTouchDragDropEnabled(enabled); 335 m_settings->setTouchDragDropEnabled(enabled);
344 } 336 }
345 337
346 void WebSettingsImpl::setTouchEditingEnabled(bool enabled) 338 void WebSettingsImpl::setTouchEditingEnabled(bool enabled)
347 { 339 {
348 m_settings->setTouchEditingEnabled(enabled); 340 m_settings->setTouchEditingEnabled(enabled);
349 } 341 }
350 342
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 { 676 {
685 m_settings->setSelectionIncludesAltImageText(enabled); 677 m_settings->setSelectionIncludesAltImageText(enabled);
686 } 678 }
687 679
688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 680 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
689 { 681 {
690 m_settings->setSmartInsertDeleteEnabled(enabled); 682 m_settings->setSmartInsertDeleteEnabled(enabled);
691 } 683 }
692 684
693 } // namespace WebKit 685 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/editing/Editor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698