OLD | NEW |
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 #ifndef COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ | 5 #ifndef COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ |
6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ | 6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ |
7 | 7 |
8 #include "base/android/jni_weak_ref.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // Overridden from WebContentsDelegate: | 53 // Overridden from WebContentsDelegate: |
54 content::WebContents* OpenURLFromTab( | 54 content::WebContents* OpenURLFromTab( |
55 content::WebContents* source, | 55 content::WebContents* source, |
56 const content::OpenURLParams& params) override; | 56 const content::OpenURLParams& params) override; |
57 content::ColorChooser* OpenColorChooser( | 57 content::ColorChooser* OpenColorChooser( |
58 content::WebContents* source, | 58 content::WebContents* source, |
59 SkColor color, | 59 SkColor color, |
60 const std::vector<content::ColorSuggestion>& suggestions) override; | 60 const std::vector<content::ColorSuggestion>& suggestions) override; |
61 void NavigationStateChanged(content::WebContents* source, | 61 void NavigationStateChanged(content::WebContents* source, |
62 content::InvalidateTypes changed_flags) override; | 62 content::InvalidateTypes changed_flags) override; |
63 void VisibleSSLStateChanged(const content::WebContents* source) override; | 63 void VisibleSSLStateChanged(content::WebContents* source) override; |
64 void ActivateContents(content::WebContents* contents) override; | 64 void ActivateContents(content::WebContents* contents) override; |
65 void DeactivateContents(content::WebContents* contents) override; | 65 void DeactivateContents(content::WebContents* contents) override; |
66 void LoadingStateChanged(content::WebContents* source, | 66 void LoadingStateChanged(content::WebContents* source, |
67 bool to_different_document) override; | 67 bool to_different_document) override; |
68 void LoadProgressChanged(content::WebContents* source, | 68 void LoadProgressChanged(content::WebContents* source, |
69 double load_progress) override; | 69 double load_progress) override; |
70 void RendererUnresponsive(content::WebContents* source) override; | 70 void RendererUnresponsive(content::WebContents* source) override; |
71 void RendererResponsive(content::WebContents* source) override; | 71 void RendererResponsive(content::WebContents* source) override; |
72 void WebContentsCreated(content::WebContents* source_contents, | 72 void WebContentsCreated(content::WebContents* source_contents, |
73 int opener_render_frame_id, | 73 int opener_render_frame_id, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 JavaObjectWeakGlobalRef weak_java_delegate_; | 121 JavaObjectWeakGlobalRef weak_java_delegate_; |
122 | 122 |
123 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 123 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
124 }; | 124 }; |
125 | 125 |
126 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); | 126 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); |
127 | 127 |
128 } // namespace web_contents_delegate_android | 128 } // namespace web_contents_delegate_android |
129 | 129 |
130 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 130 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
OLD | NEW |