OLD | NEW |
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 #ifndef CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ |
6 #define CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ | 6 #define CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ |
7 | 7 |
8 #include "base/android/jni_helper.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 | 11 |
12 class AutocompleteResult; | 12 class AutocompleteResult; |
13 class ProfielAndroid; | 13 class ProfielAndroid; |
14 class Profile; | 14 class Profile; |
15 class TabAndroid; | 15 class TabAndroid; |
16 struct AutocompleteMatch; | 16 struct AutocompleteMatch; |
17 | 17 |
18 namespace content { | 18 namespace content { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 Profile* profile, | 61 Profile* profile, |
62 content::WebContents* web_contents); | 62 content::WebContents* web_contents); |
63 JavaObjectWeakGlobalRef weak_java_omnibox_; | 63 JavaObjectWeakGlobalRef weak_java_omnibox_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(OmniboxPrerender); | 65 DISALLOW_COPY_AND_ASSIGN(OmniboxPrerender); |
66 }; | 66 }; |
67 | 67 |
68 bool RegisterOmniboxPrerender(JNIEnv* env); | 68 bool RegisterOmniboxPrerender(JNIEnv* env); |
69 | 69 |
70 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ | 70 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ |
OLD | NEW |