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

Side by Side Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 1531473004: Fix selection handles in vertical writing modes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply code review comments Created 4 years, 11 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
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 4662 matching lines...) Expand 10 before | Expand all | Expand 10 after
4673 4673
4674 CompositedSelectionBoundsTestWebViewClient m_fakeSelectionWebViewClient; 4674 CompositedSelectionBoundsTestWebViewClient m_fakeSelectionWebViewClient;
4675 CompositedSelectionBoundsTestLayerTreeView& m_fakeSelectionLayerTreeView; 4675 CompositedSelectionBoundsTestLayerTreeView& m_fakeSelectionLayerTreeView;
4676 FrameTestHelpers::WebViewHelper m_webViewHelper; 4676 FrameTestHelpers::WebViewHelper m_webViewHelper;
4677 }; 4677 };
4678 4678
4679 TEST_F(CompositedSelectionBoundsTest, None) { runTest("composited_selection_boun ds_none.html"); } 4679 TEST_F(CompositedSelectionBoundsTest, None) { runTest("composited_selection_boun ds_none.html"); }
4680 TEST_F(CompositedSelectionBoundsTest, NoneReadonlyCaret) { runTest("composited_s election_bounds_none_readonly_caret.html"); } 4680 TEST_F(CompositedSelectionBoundsTest, NoneReadonlyCaret) { runTest("composited_s election_bounds_none_readonly_caret.html"); }
4681 TEST_F(CompositedSelectionBoundsTest, Basic) { runTest("composited_selection_bou nds_basic.html"); } 4681 TEST_F(CompositedSelectionBoundsTest, Basic) { runTest("composited_selection_bou nds_basic.html"); }
4682 TEST_F(CompositedSelectionBoundsTest, Transformed) { runTest("composited_selecti on_bounds_transformed.html"); } 4682 TEST_F(CompositedSelectionBoundsTest, Transformed) { runTest("composited_selecti on_bounds_transformed.html"); }
4683 TEST_F(CompositedSelectionBoundsTest, VerticalRightToLeft) { runTest("composited _selection_bounds_vertical_rl.html"); }
4684 TEST_F(CompositedSelectionBoundsTest, VerticalLeftToRight) { runTest("composited _selection_bounds_vertical_lr.html"); }
4683 TEST_F(CompositedSelectionBoundsTest, SplitLayer) { runTest("composited_selectio n_bounds_split_layer.html"); } 4685 TEST_F(CompositedSelectionBoundsTest, SplitLayer) { runTest("composited_selectio n_bounds_split_layer.html"); }
4684 TEST_F(CompositedSelectionBoundsTest, EmptyLayer) { runTest("composited_selectio n_bounds_empty_layer.html"); } 4686 TEST_F(CompositedSelectionBoundsTest, EmptyLayer) { runTest("composited_selectio n_bounds_empty_layer.html"); }
4685 TEST_F(CompositedSelectionBoundsTest, Iframe) { runTestWithMultipleFiles("compos ited_selection_bounds_iframe.html", "composited_selection_bounds_basic.html", nu llptr); } 4687 TEST_F(CompositedSelectionBoundsTest, Iframe) { runTestWithMultipleFiles("compos ited_selection_bounds_iframe.html", "composited_selection_bounds_basic.html", nu llptr); }
4686 TEST_F(CompositedSelectionBoundsTest, DetachedFrame) { runTest("composited_selec tion_bounds_detached_frame.html"); } 4688 TEST_F(CompositedSelectionBoundsTest, DetachedFrame) { runTest("composited_selec tion_bounds_detached_frame.html"); }
4687 TEST_F(CompositedSelectionBoundsTest, Editable) { runTest("composited_selection_ bounds_editable.html"); } 4689 TEST_F(CompositedSelectionBoundsTest, Editable) { runTest("composited_selection_ bounds_editable.html"); }
4688 TEST_F(CompositedSelectionBoundsTest, EditableDiv) { runTest("composited_selecti on_bounds_editable_div.html"); } 4690 TEST_F(CompositedSelectionBoundsTest, EditableDiv) { runTest("composited_selecti on_bounds_editable_div.html"); }
4689 TEST_F(CompositedSelectionBoundsTest, EmptyEditableInput) { runTest("composited_ selection_bounds_empty_editable_input.html"); } 4691 TEST_F(CompositedSelectionBoundsTest, EmptyEditableInput) { runTest("composited_ selection_bounds_empty_editable_input.html"); }
4690 TEST_F(CompositedSelectionBoundsTest, EmptyEditableArea) { runTest("composited_s election_bounds_empty_editable_area.html"); } 4692 TEST_F(CompositedSelectionBoundsTest, EmptyEditableArea) { runTest("composited_s election_bounds_empty_editable_area.html"); }
4691 4693
4692 TEST_P(ParameterizedWebFrameTest, CompositedSelectionBoundsCleared) 4694 TEST_P(ParameterizedWebFrameTest, CompositedSelectionBoundsCleared)
(...skipping 3659 matching lines...) Expand 10 before | Expand all | Expand 10 after
8352 8354
8353 TEST_F(WebFrameTest, CallbackOrdering) 8355 TEST_F(WebFrameTest, CallbackOrdering)
8354 { 8356 {
8355 registerMockedHttpURLLoad("foo.html"); 8357 registerMockedHttpURLLoad("foo.html");
8356 FrameTestHelpers::WebViewHelper webViewHelper; 8358 FrameTestHelpers::WebViewHelper webViewHelper;
8357 CallbackOrderingWebFrameClient client; 8359 CallbackOrderingWebFrameClient client;
8358 webViewHelper.initializeAndLoad(m_baseURL + "foo.html", true, &client); 8360 webViewHelper.initializeAndLoad(m_baseURL + "foo.html", true, &client);
8359 } 8361 }
8360 8362
8361 } // namespace blink 8363 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698