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

Side by Side Diff: sky/engine/web/WebSettingsImpl.cpp

Issue 681583002: Remove pinch viewports. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: upload synced patch Created 6 years, 1 month 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 /* 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) 507 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled)
508 { 508 {
509 m_settings->setSelectionIncludesAltImageText(enabled); 509 m_settings->setSelectionIncludesAltImageText(enabled);
510 } 510 }
511 511
512 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 512 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
513 { 513 {
514 m_settings->setSmartInsertDeleteEnabled(enabled); 514 m_settings->setSmartInsertDeleteEnabled(enabled);
515 } 515 }
516 516
517 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness)
518 {
519 m_settings->setPinchOverlayScrollbarThickness(thickness);
520 }
521
522 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled)
523 {
524 m_settings->setPinchVirtualViewportEnabled(enabled);
525 }
526
527 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) 517 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
528 { 518 {
529 m_settings->setUseSolidColorScrollbars(enabled); 519 m_settings->setUseSolidColorScrollbars(enabled);
530 } 520 }
531 521
532 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 522 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
533 { 523 {
534 m_mainFrameResizesAreOrientationChanges = enabled; 524 m_mainFrameResizesAreOrientationChanges = enabled;
535 } 525 }
536 526
537 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) 527 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
538 { 528 {
539 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 529 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
540 } 530 }
541 531
542 } // namespace blink 532 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698