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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <list> 5 #include <list>
6 #include <set> 6 #include <set>
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 22 matching lines...) Expand all
33 #include "content/public/browser/resource_throttle.h" 33 #include "content/public/browser/resource_throttle.h"
34 #include "content/public/browser/web_contents.h" 34 #include "content/public/browser/web_contents.h"
35 #include "content/public/common/context_menu_params.h" 35 #include "content/public/common/context_menu_params.h"
36 #include "content/public/common/url_constants.h" 36 #include "content/public/common/url_constants.h"
37 #include "content/public/test/browser_test_utils.h" 37 #include "content/public/test/browser_test_utils.h"
38 #include "extensions/common/switches.h" 38 #include "extensions/common/switches.h"
39 #include "net/dns/mock_host_resolver.h" 39 #include "net/dns/mock_host_resolver.h"
40 #include "net/test/embedded_test_server/embedded_test_server.h" 40 #include "net/test/embedded_test_server/embedded_test_server.h"
41 #include "third_party/WebKit/public/web/WebContextMenuData.h" 41 #include "third_party/WebKit/public/web/WebContextMenuData.h"
42 #include "third_party/WebKit/public/web/WebInputEvent.h" 42 #include "third_party/WebKit/public/web/WebInputEvent.h"
43 #include "webkit/glue/resource_type.h" 43 #include "webkit/common/resource_type.h"
44 44
45 using content::WebContents; 45 using content::WebContents;
46 46
47 namespace extensions { 47 namespace extensions {
48 48
49 namespace { 49 namespace {
50 50
51 // An UI-less RenderViewContextMenu. 51 // An UI-less RenderViewContextMenu.
52 class TestRenderViewContextMenu : public RenderViewContextMenu { 52 class TestRenderViewContextMenu : public RenderViewContextMenu {
53 public: 53 public:
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 url = GURL(base::StringPrintf( 801 url = GURL(base::StringPrintf(
802 "http://www.a.com:%d/" 802 "http://www.a.com:%d/"
803 "extensions/api_test/webnavigation/crash/b.html", 803 "extensions/api_test/webnavigation/crash/b.html",
804 embedded_test_server()->port())); 804 embedded_test_server()->port()));
805 ui_test_utils::NavigateToURL(browser(), url); 805 ui_test_utils::NavigateToURL(browser(), url);
806 806
807 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 807 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
808 } 808 }
809 809
810 } // namespace extensions 810 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698