1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "base/path_service.h" 6 #include "base/run_loop.h" 7 #include "content/public/browser/render_view_host.h" 8 #include "content/public/browser/web_contents.h" 9 #include "content/public/common/content_paths.h" 10 #include "content/public/test/content_browser_test.h" 11 #include "content/public/test/content_browser_test_utils.h" 12 #include "content/shell/browser/shell.h" 13 #include "net/base/filename_util.h" 14 #include "third_party/skia/include/core/SkBitmap.h" 15 16 namespace content { 17 18 class RenderWidgetHostBrowserTest : public ContentBrowserTest { 19 public: 20 RenderWidgetHostBrowserTest() {} 21 22 virtual void SetUpOnMainThread() OVERRIDE { 23 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &test_dir_)); 24 } 25 26 protected: 27 base::FilePath test_dir_; 28 }; 29 30 } // namespace content 31