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

Side by Side Diff: chrome/browser/password_manager/password_manager_browsertest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <string> 5 #include <string>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "content/public/common/content_switches.h" 51 #include "content/public/common/content_switches.h"
52 #include "content/public/test/browser_test_utils.h" 52 #include "content/public/test/browser_test_utils.h"
53 #include "content/public/test/test_utils.h" 53 #include "content/public/test/test_utils.h"
54 #include "net/base/filename_util.h" 54 #include "net/base/filename_util.h"
55 #include "net/dns/mock_host_resolver.h" 55 #include "net/dns/mock_host_resolver.h"
56 #include "net/test/embedded_test_server/embedded_test_server.h" 56 #include "net/test/embedded_test_server/embedded_test_server.h"
57 #include "net/test/embedded_test_server/http_request.h" 57 #include "net/test/embedded_test_server/http_request.h"
58 #include "net/test/embedded_test_server/http_response.h" 58 #include "net/test/embedded_test_server/http_response.h"
59 #include "net/url_request/test_url_fetcher_factory.h" 59 #include "net/url_request/test_url_fetcher_factory.h"
60 #include "testing/gmock/include/gmock/gmock.h" 60 #include "testing/gmock/include/gmock/gmock.h"
61 #include "third_party/WebKit/public/web/WebInputEvent.h" 61 #include "third_party/WebKit/public/platform/WebInputEvent.h"
62 #include "ui/events/keycodes/keyboard_codes.h" 62 #include "ui/events/keycodes/keyboard_codes.h"
63 #include "ui/gfx/geometry/point.h" 63 #include "ui/gfx/geometry/point.h"
64 64
65 using testing::_; 65 using testing::_;
66 66
67 namespace { 67 namespace {
68 68
69 class MockLoginModelObserver : public password_manager::LoginModelObserver { 69 class MockLoginModelObserver : public password_manager::LoginModelObserver {
70 public: 70 public:
71 MOCK_METHOD2(OnAutofillDataAvailableInternal, 71 MOCK_METHOD2(OnAutofillDataAvailableInternal,
(...skipping 3005 matching lines...) Expand 10 before | Expand all | Expand 10 after
3077 // about all frames, not just the main one. The factories should receive 3077 // about all frames, not just the main one. The factories should receive
3078 // messages for non-main frames, in particular 3078 // messages for non-main frames, in particular
3079 // AutofillHostMsg_PasswordFormsParsed. If that were the first time the 3079 // AutofillHostMsg_PasswordFormsParsed. If that were the first time the
3080 // factories hear about such frames, this would crash. 3080 // factories hear about such frames, this would crash.
3081 tab_strip_model->AddWebContents(detached_web_contents.release(), -1, 3081 tab_strip_model->AddWebContents(detached_web_contents.release(), -1,
3082 ::ui::PAGE_TRANSITION_AUTO_TOPLEVEL, 3082 ::ui::PAGE_TRANSITION_AUTO_TOPLEVEL,
3083 TabStripModel::ADD_ACTIVE); 3083 TabStripModel::ADD_ACTIVE);
3084 } 3084 }
3085 3085
3086 } // namespace password_manager 3086 } // namespace password_manager
OLDNEW
« no previous file with comments | « chrome/browser/page_load_metrics/page_load_metrics_observer.h ('k') | chrome/browser/plugins/flash_permission_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698