| 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(const content::WebContents* source) override; | 66 void VisibleSSLStateChanged(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(content::WebContents* source) override; | 72 void RendererUnresponsive(content::WebContents* source) override; |
| 73 void RendererResponsive(content::WebContents* source) override; | 73 void RendererResponsive(content::WebContents* source) override; |
| 74 void WebContentsCreated(content::WebContents* source_contents, | 74 void WebContentsCreated(content::WebContents* source_contents, |
| 75 int opener_render_process_id, | 75 int opener_render_process_id, |
| 76 int opener_render_frame_id, | 76 int opener_render_frame_id, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // strong reference to that object as long as they want to receive callbacks | 128 // strong reference to that object as long as they want to receive callbacks |
| 129 // on it. Using a weak ref here allows it to be correctly GCed. | 129 // on it. Using a weak ref here allows it to be correctly GCed. |
| 130 JavaObjectWeakGlobalRef weak_java_delegate_; | 130 JavaObjectWeakGlobalRef weak_java_delegate_; |
| 131 | 131 |
| 132 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 132 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace web_contents_delegate_android | 135 } // namespace web_contents_delegate_android |
| 136 | 136 |
| 137 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 137 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
| OLD | NEW |