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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(const 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; | |
66 void LoadingStateChanged(content::WebContents* source, | 65 void LoadingStateChanged(content::WebContents* source, |
67 bool to_different_document) override; | 66 bool to_different_document) override; |
68 void LoadProgressChanged(content::WebContents* source, | 67 void LoadProgressChanged(content::WebContents* source, |
69 double load_progress) override; | 68 double load_progress) override; |
70 void RendererUnresponsive(content::WebContents* source) override; | 69 void RendererUnresponsive(content::WebContents* source) override; |
71 void RendererResponsive(content::WebContents* source) override; | 70 void RendererResponsive(content::WebContents* source) override; |
72 void WebContentsCreated(content::WebContents* source_contents, | 71 void WebContentsCreated(content::WebContents* source_contents, |
73 int opener_render_frame_id, | 72 int opener_render_frame_id, |
74 const std::string& frame_name, | 73 const std::string& frame_name, |
75 const GURL& target_url, | 74 const GURL& target_url, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 JavaObjectWeakGlobalRef weak_java_delegate_; | 120 JavaObjectWeakGlobalRef weak_java_delegate_; |
122 | 121 |
123 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 122 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
124 }; | 123 }; |
125 | 124 |
126 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); | 125 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); |
127 | 126 |
128 } // namespace web_contents_delegate_android | 127 } // namespace web_contents_delegate_android |
129 | 128 |
130 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 129 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
OLD | NEW |