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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac_unittest.mm

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tapted Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/common.sb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm b/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
index 312227668bab06a4a24bcb9cd6e18c8e55d7b867..9ba145f5b7039542e1532846bb13f692457faf22 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
@@ -9,7 +9,6 @@
#include <stdint.h>
#include "base/command_line.h"
-#include "base/mac/mac_util.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/mac/sdk_forward_declarations.h"
#include "base/macros.h"
@@ -820,10 +819,6 @@ TEST_F(RenderWidgetHostViewMacTest, BlurAndFocusOnSetActive) {
}
TEST_F(RenderWidgetHostViewMacTest, ScrollWheelEndEventDelivery) {
- // This tests Lion+ functionality, so don't run the test pre-Lion.
- if (!base::mac::IsOSLionOrLater())
- return;
-
// Initialize the view associated with a MockRenderWidgetHostImpl, rather than
// the MockRenderProcessHost that is set up by the test harness which mocks
// out |OnMessageReceived()|.
@@ -862,10 +857,6 @@ TEST_F(RenderWidgetHostViewMacTest, ScrollWheelEndEventDelivery) {
}
TEST_F(RenderWidgetHostViewMacTest, IgnoreEmptyUnhandledWheelEvent) {
- // This tests Lion+ functionality, so don't run the test pre-Lion.
- if (!base::mac::IsOSLionOrLater())
- return;
-
SetupForWheelGestures(false);
// Initialize the view associated with a MockRenderWidgetHostImpl, rather than
@@ -923,10 +914,6 @@ TEST_F(RenderWidgetHostViewMacTest, IgnoreEmptyUnhandledWheelEvent) {
TEST_F(RenderWidgetHostViewMacTest,
IgnoreEmptyUnhandledWheelEventWithWheelGestures) {
- // This tests Lion+ functionality, so don't run the test pre-Lion.
- if (!base::mac::IsOSLionOrLater())
- return;
-
SetupForWheelGestures(true);
// Initialize the view associated with a MockRenderWidgetHostImpl, rather than
@@ -1110,10 +1097,6 @@ class RenderWidgetHostViewMacPinchTest : public RenderWidgetHostViewMacTest {
};
TEST_F(RenderWidgetHostViewMacPinchTest, PinchThresholding) {
- // This tests Lion+ functionality, so don't run the test pre-Lion.
- if (!base::mac::IsOSLionOrLater())
- return;
-
// Initialize the view associated with a MockRenderWidgetHostImpl, rather than
// the MockRenderProcessHost that is set up by the test harness which mocks
// out |OnMessageReceived()|.
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/common.sb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698