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

Side by Side Diff: Source/web/tests/ScrollingCoordinatorChromiumTest.cpp

Issue 499543002: Removing duplicate 'using namespace blink;' in platform and web (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 28 matching lines...) Expand all
39 #include "public/platform/WebLayerTreeView.h" 39 #include "public/platform/WebLayerTreeView.h"
40 #include "public/platform/WebUnitTestSupport.h" 40 #include "public/platform/WebUnitTestSupport.h"
41 #include "public/web/WebSettings.h" 41 #include "public/web/WebSettings.h"
42 #include "public/web/WebViewClient.h" 42 #include "public/web/WebViewClient.h"
43 #include "web/WebLocalFrameImpl.h" 43 #include "web/WebLocalFrameImpl.h"
44 #include "web/WebViewImpl.h" 44 #include "web/WebViewImpl.h"
45 #include "web/tests/FrameTestHelpers.h" 45 #include "web/tests/FrameTestHelpers.h"
46 #include <gtest/gtest.h> 46 #include <gtest/gtest.h>
47 47
48 using namespace blink; 48 using namespace blink;
49 using namespace blink;
50 49
51 namespace { 50 namespace {
52 51
53 class ScrollingCoordinatorChromiumTest : public testing::Test { 52 class ScrollingCoordinatorChromiumTest : public testing::Test {
54 public: 53 public:
55 ScrollingCoordinatorChromiumTest() 54 ScrollingCoordinatorChromiumTest()
56 : m_baseURL("http://www.test.com/") 55 : m_baseURL("http://www.test.com/")
57 { 56 {
58 m_helper.initialize(true, 0, &m_mockWebViewClient, &configureSettings); 57 m_helper.initialize(true, 0, &m_mockWebViewClient, &configureSettings);
59 webViewImpl()->resize(IntSize(320, 240)); 58 webViewImpl()->resize(IntSize(320, 240));
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash) 450 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash)
452 { 451 {
453 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html"); 452 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html");
454 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html"); 453 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html");
455 forceFullCompositingUpdate(); 454 forceFullCompositingUpdate();
456 // This test document setup an iframe with scrollbars, then switch to 455 // This test document setup an iframe with scrollbars, then switch to
457 // an empty document by javascript. 456 // an empty document by javascript.
458 } 457 }
459 458
460 } // namespace 459 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698