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

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

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 // 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/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/public/common/url_constants.h" 47 #include "content/public/common/url_constants.h"
48 #include "content/public/test/browser_test_utils.h" 48 #include "content/public/test/browser_test_utils.h"
49 #include "content/public/test/test_utils.h" 49 #include "content/public/test/test_utils.h"
50 #include "extensions/browser/extension_system.h" 50 #include "extensions/browser/extension_system.h"
51 #include "extensions/common/switches.h" 51 #include "extensions/common/switches.h"
52 #include "extensions/test/result_catcher.h" 52 #include "extensions/test/result_catcher.h"
53 #include "net/dns/mock_host_resolver.h" 53 #include "net/dns/mock_host_resolver.h"
54 #include "net/test/embedded_test_server/embedded_test_server.h" 54 #include "net/test/embedded_test_server/embedded_test_server.h"
55 #include "net/test/embedded_test_server/http_request.h" 55 #include "net/test/embedded_test_server/http_request.h"
56 #include "net/test/embedded_test_server/http_response.h" 56 #include "net/test/embedded_test_server/http_response.h"
57 #include "third_party/WebKit/public/platform/WebInputEvent.h"
57 #include "third_party/WebKit/public/web/WebContextMenuData.h" 58 #include "third_party/WebKit/public/web/WebContextMenuData.h"
58 #include "third_party/WebKit/public/web/WebInputEvent.h"
59 59
60 using content::ResourceType; 60 using content::ResourceType;
61 using content::WebContents; 61 using content::WebContents;
62 62
63 namespace extensions { 63 namespace extensions {
64 64
65 namespace { 65 namespace {
66 66
67 // This class can defer requests for arbitrary URLs. 67 // This class can defer requests for arbitrary URLs.
68 class TestNavigationListener 68 class TestNavigationListener
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 "extensions/api_test/webnavigation/crash/b.html", 813 "extensions/api_test/webnavigation/crash/b.html",
814 embedded_test_server()->port())); 814 embedded_test_server()->port()));
815 ui_test_utils::NavigateToURL(browser(), url); 815 ui_test_utils::NavigateToURL(browser(), url);
816 816
817 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 817 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
818 } 818 }
819 819
820 #endif 820 #endif
821 821
822 } // namespace extensions 822 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/api/web_request/web_request_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698