| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 content::InvalidateTypes changed_flags) override; | 65 content::InvalidateTypes changed_flags) override; |
| 66 void VisibleSSLStateChanged(const content::WebContents* source) override; | 66 void VisibleSSLStateChanged(const 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_frame_id, | 76 int opener_render_frame_id, |
| 76 const std::string& frame_name, | 77 const std::string& frame_name, |
| 77 const GURL& target_url, | 78 const GURL& target_url, |
| 78 content::WebContents* new_contents) override; | 79 content::WebContents* new_contents) override; |
| 79 bool ShouldCreateWebContents( | 80 bool ShouldCreateWebContents( |
| 80 content::WebContents* web_contents, | 81 content::WebContents* web_contents, |
| 81 int32_t route_id, | 82 int32_t route_id, |
| 82 int32_t main_frame_route_id, | 83 int32_t main_frame_route_id, |
| 83 int32_t main_frame_widget_route_id, | 84 int32_t main_frame_widget_route_id, |
| 84 WindowContainerType window_container_type, | 85 WindowContainerType window_container_type, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // 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 |
| 128 // 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. |
| 129 JavaObjectWeakGlobalRef weak_java_delegate_; | 130 JavaObjectWeakGlobalRef weak_java_delegate_; |
| 130 | 131 |
| 131 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 132 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace web_contents_delegate_android | 135 } // namespace web_contents_delegate_android |
| 135 | 136 |
| 136 #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 |