| OLD | NEW | 
|     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 5110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5121     TestWillInsertBodyWebFrameClient webFrameClient; |  5121     TestWillInsertBodyWebFrameClient webFrameClient; | 
|  5122     FrameTestHelpers::WebViewHelper webViewHelper(this); |  5122     FrameTestHelpers::WebViewHelper webViewHelper(this); | 
|  5123     webViewHelper.initializeAndLoad(m_baseURL + "clipped-body.html", false, &web
      FrameClient); |  5123     webViewHelper.initializeAndLoad(m_baseURL + "clipped-body.html", false, &web
      FrameClient); | 
|  5124  |  5124  | 
|  5125     EXPECT_TRUE(webFrameClient.m_didLoad); |  5125     EXPECT_TRUE(webFrameClient.m_didLoad); | 
|  5126     EXPECT_EQ(1, webFrameClient.m_numBodies); |  5126     EXPECT_EQ(1, webFrameClient.m_numBodies); | 
|  5127 } |  5127 } | 
|  5128  |  5128  | 
|  5129 TEST_P(ParameterizedWebFrameTest, EmptyDocument) |  5129 TEST_P(ParameterizedWebFrameTest, EmptyDocument) | 
|  5130 { |  5130 { | 
|  5131     registerMockedHttpURLLoad("pageserializer/svg/green_rectangle.svg"); |  5131     registerMockedHttpURLLoad("frameserializer/svg/green_rectangle.svg"); | 
|  5132  |  5132  | 
|  5133     TestWillInsertBodyWebFrameClient webFrameClient; |  5133     TestWillInsertBodyWebFrameClient webFrameClient; | 
|  5134     FrameTestHelpers::WebViewHelper webViewHelper(this); |  5134     FrameTestHelpers::WebViewHelper webViewHelper(this); | 
|  5135     webViewHelper.initialize(false, &webFrameClient); |  5135     webViewHelper.initialize(false, &webFrameClient); | 
|  5136  |  5136  | 
|  5137     EXPECT_FALSE(webFrameClient.m_didLoad); |  5137     EXPECT_FALSE(webFrameClient.m_didLoad); | 
|  5138     EXPECT_EQ(1, webFrameClient.m_numBodies); // The empty document that a new f
      rame starts with triggers this. |  5138     EXPECT_EQ(1, webFrameClient.m_numBodies); // The empty document that a new f
      rame starts with triggers this. | 
|  5139 } |  5139 } | 
|  5140  |  5140  | 
|  5141 TEST_P(ParameterizedWebFrameTest, MoveCaretSelectionTowardsWindowPointWithNoSele
      ction) |  5141 TEST_P(ParameterizedWebFrameTest, MoveCaretSelectionTowardsWindowPointWithNoSele
      ction) | 
| (...skipping 3209 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  8351  |  8351  | 
|  8352 TEST_F(WebFrameTest, CallbackOrdering) |  8352 TEST_F(WebFrameTest, CallbackOrdering) | 
|  8353 { |  8353 { | 
|  8354     registerMockedHttpURLLoad("foo.html"); |  8354     registerMockedHttpURLLoad("foo.html"); | 
|  8355     FrameTestHelpers::WebViewHelper webViewHelper; |  8355     FrameTestHelpers::WebViewHelper webViewHelper; | 
|  8356     CallbackOrderingWebFrameClient client; |  8356     CallbackOrderingWebFrameClient client; | 
|  8357     webViewHelper.initializeAndLoad(m_baseURL + "foo.html", true, &client); |  8357     webViewHelper.initializeAndLoad(m_baseURL + "foo.html", true, &client); | 
|  8358 } |  8358 } | 
|  8359  |  8359  | 
|  8360 } // namespace blink |  8360 } // namespace blink | 
| OLD | NEW |