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

Side by Side Diff: content/browser/site_per_process_browsertest.cc

Issue 2752113005: Let ImeAdapterAndroid have the same lifecycle as its Java peer (Closed)
Patch Set: comments Created 3 years, 9 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 // 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 "content/browser/site_per_process_browsertest.h" 5 #include "content/browser/site_per_process_browsertest.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #endif 94 #endif
95 95
96 #if defined(OS_MACOSX) 96 #if defined(OS_MACOSX)
97 #include "ui/base/test/scoped_preferred_scroller_style_mac.h" 97 #include "ui/base/test/scoped_preferred_scroller_style_mac.h"
98 #endif 98 #endif
99 99
100 #if defined(OS_ANDROID) 100 #if defined(OS_ANDROID)
101 #include "base/android/jni_android.h" 101 #include "base/android/jni_android.h"
102 #include "base/android/jni_string.h" 102 #include "base/android/jni_string.h"
103 #include "base/android/scoped_java_ref.h" 103 #include "base/android/scoped_java_ref.h"
104 #include "content/browser/renderer_host/ime_adapter_android.h" 104 #include "content/browser/android/ime_adapter_android.h"
105 #include "content/browser/renderer_host/render_widget_host_view_android.h" 105 #include "content/browser/renderer_host/render_widget_host_view_android.h"
106 #endif 106 #endif
107 107
108 using ::testing::SizeIs; 108 using ::testing::SizeIs;
109 109
110 namespace content { 110 namespace content {
111 111
112 namespace { 112 namespace {
113 113
114 // Helper function to send a postMessage and wait for a reply message. The 114 // Helper function to send a postMessage and wait for a reply message. The
(...skipping 9880 matching lines...) Expand 10 before | Expand all | Expand 10 after
9995 names.insert(root->children[0]->frame_entry->frame_unique_name()); 9995 names.insert(root->children[0]->frame_entry->frame_unique_name());
9996 } 9996 }
9997 9997
9998 // More than one entry in the set means that the subframe frame navigation 9998 // More than one entry in the set means that the subframe frame navigation
9999 // entries didn't have a consistent unique name. This will break history 9999 // entries didn't have a consistent unique name. This will break history
10000 // navigations =( 10000 // navigations =(
10001 EXPECT_THAT(names, SizeIs(1)) << "Mismatched names for subframe!"; 10001 EXPECT_THAT(names, SizeIs(1)) << "Mismatched names for subframe!";
10002 } 10002 }
10003 10003
10004 } // namespace content 10004 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698