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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Overridden from WebContentsDelegate: | 56 // Overridden from WebContentsDelegate: |
57 content::WebContents* OpenURLFromTab( | 57 content::WebContents* OpenURLFromTab( |
58 content::WebContents* source, | 58 content::WebContents* source, |
59 const content::OpenURLParams& params) override; | 59 const content::OpenURLParams& params) override; |
60 content::ColorChooser* OpenColorChooser( | 60 content::ColorChooser* OpenColorChooser( |
61 content::WebContents* source, | 61 content::WebContents* source, |
62 SkColor color, | 62 SkColor color, |
63 const std::vector<content::ColorSuggestion>& suggestions) override; | 63 const std::vector<content::ColorSuggestion>& suggestions) override; |
64 void NavigationStateChanged(content::WebContents* source, | 64 void NavigationStateChanged(content::WebContents* source, |
65 content::InvalidateTypes changed_flags) override; | 65 content::InvalidateTypes changed_flags) override; |
66 void VisibleSSLStateChanged(content::WebContents* source) override; | 66 void VisibleSecurityStateChanged(content::WebContents* source) override; |
67 void ActivateContents(content::WebContents* contents) override; | 67 void ActivateContents(content::WebContents* contents) override; |
68 void LoadingStateChanged(content::WebContents* source, | 68 void LoadingStateChanged(content::WebContents* source, |
69 bool to_different_document) override; | 69 bool to_different_document) override; |
70 void LoadProgressChanged(content::WebContents* source, | 70 void LoadProgressChanged(content::WebContents* source, |
71 double load_progress) override; | 71 double load_progress) override; |
72 void RendererUnresponsive( | 72 void RendererUnresponsive( |
73 content::WebContents* source, | 73 content::WebContents* source, |
74 const content::WebContentsUnresponsiveState& unresponsive_state) override; | 74 const content::WebContentsUnresponsiveState& unresponsive_state) override; |
75 void RendererResponsive(content::WebContents* source) override; | 75 void RendererResponsive(content::WebContents* source) override; |
76 void WebContentsCreated(content::WebContents* source_contents, | 76 void WebContentsCreated(content::WebContents* source_contents, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // strong reference to that object as long as they want to receive callbacks | 130 // strong reference to that object as long as they want to receive callbacks |
131 // on it. Using a weak ref here allows it to be correctly GCed. | 131 // on it. Using a weak ref here allows it to be correctly GCed. |
132 JavaObjectWeakGlobalRef weak_java_delegate_; | 132 JavaObjectWeakGlobalRef weak_java_delegate_; |
133 | 133 |
134 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 134 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
135 }; | 135 }; |
136 | 136 |
137 } // namespace web_contents_delegate_android | 137 } // namespace web_contents_delegate_android |
138 | 138 |
139 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 139 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
OLD | NEW |