| 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 CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 ~ChromeWebContentsDelegateAndroid() override; | 39 ~ChromeWebContentsDelegateAndroid() override; |
| 40 | 40 |
| 41 void LoadingStateChanged(content::WebContents* source, | 41 void LoadingStateChanged(content::WebContents* source, |
| 42 bool to_different_document) override; | 42 bool to_different_document) override; |
| 43 void RunFileChooser(content::WebContents* web_contents, | 43 void RunFileChooser(content::WebContents* web_contents, |
| 44 const content::FileChooserParams& params) override; | 44 const content::FileChooserParams& params) override; |
| 45 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( | 45 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( |
| 46 content::WebContents* web_contents, | 46 content::WebContents* web_contents, |
| 47 const content::BluetoothChooser::EventHandler& event_handler, | 47 const content::BluetoothChooser::EventHandler& event_handler, |
| 48 const GURL& origin) override; | 48 const GURL& origin) override; |
| 49 |
| 50 void VisibleSSLStateChanged(content::WebContents* source) override; |
| 49 void CloseContents(content::WebContents* web_contents) override; | 51 void CloseContents(content::WebContents* web_contents) override; |
| 50 blink::WebDisplayMode GetDisplayMode( | 52 blink::WebDisplayMode GetDisplayMode( |
| 51 const content::WebContents* web_contents) const override; | 53 const content::WebContents* web_contents) const override; |
| 52 void FindReply(content::WebContents* web_contents, | 54 void FindReply(content::WebContents* web_contents, |
| 53 int request_id, | 55 int request_id, |
| 54 int number_of_matches, | 56 int number_of_matches, |
| 55 const gfx::Rect& selection_rect, | 57 const gfx::Rect& selection_rect, |
| 56 int active_match_ordinal, | 58 int active_match_ordinal, |
| 57 bool final_update) override; | 59 bool final_update) override; |
| 58 void FindMatchRectsReply(content::WebContents* web_contents, | 60 void FindMatchRectsReply(content::WebContents* web_contents, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 content::NotificationRegistrar notification_registrar_; | 98 content::NotificationRegistrar notification_registrar_; |
| 97 }; | 99 }; |
| 98 | 100 |
| 99 // Register the native methods through JNI. | 101 // Register the native methods through JNI. |
| 100 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); | 102 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); |
| 101 | 103 |
| 102 } // namespace android | 104 } // namespace android |
| 103 } // namespace chrome | 105 } // namespace chrome |
| 104 | 106 |
| 105 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ | 107 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
| OLD | NEW |