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

Side by Side Diff: Source/WebKit/chromium/src/WebViewImpl.h

Issue 12086096: Merge 141019 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 bool hasVerticalScrollbar(); 589 bool hasVerticalScrollbar();
590 590
591 // Pointer Lock calls allow a page to capture all mouse events and 591 // Pointer Lock calls allow a page to capture all mouse events and
592 // disable the system cursor. 592 // disable the system cursor.
593 #if ENABLE(POINTER_LOCK) 593 #if ENABLE(POINTER_LOCK)
594 virtual bool requestPointerLock(); 594 virtual bool requestPointerLock();
595 virtual void requestPointerUnlock(); 595 virtual void requestPointerUnlock();
596 virtual bool isPointerLocked(); 596 virtual bool isPointerLocked();
597 #endif 597 #endif
598 598
599 // Heuristic-based function for determining if we should disable workarounds
600 // for viewing websites that are not optimized for mobile devices.
601 bool shouldDisableDesktopWorkarounds();
602
599 #if ENABLE(GESTURE_EVENTS) 603 #if ENABLE(GESTURE_EVENTS)
600 // Exposed for tests. 604 // Exposed for tests.
601 LinkHighlight* linkHighlight() { return m_linkHighlight.get(); } 605 LinkHighlight* linkHighlight() { return m_linkHighlight.get(); }
602 #endif 606 #endif
603 607
604 WebSettingsImpl* settingsImpl(); 608 WebSettingsImpl* settingsImpl();
605 609
606 private: 610 private:
607 bool computePageScaleFactorLimits(); 611 bool computePageScaleFactorLimits();
608 float clampPageScaleFactorToLimits(float scale); 612 float clampPageScaleFactorToLimits(float scale);
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 888
885 bool m_suppressInvalidations; 889 bool m_suppressInvalidations;
886 890
887 bool m_showFPSCounter; 891 bool m_showFPSCounter;
888 bool m_showPaintRects; 892 bool m_showPaintRects;
889 }; 893 };
890 894
891 } // namespace WebKit 895 } // namespace WebKit
892 896
893 #endif 897 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698