| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/dom_distiller/content/browser/distiller_ui_handle.h" | 9 #include "components/dom_distiller/content/browser/distiller_ui_handle.h" |
| 10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 const bool good) override; | 24 const bool good) override; |
| 25 | 25 |
| 26 void OpenSettings(content::WebContents* web_contents) override; | 26 void OpenSettings(content::WebContents* web_contents) override; |
| 27 | 27 |
| 28 void ClosePanel(bool animate) override; | 28 void ClosePanel(bool animate) override; |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 DISALLOW_COPY_AND_ASSIGN(DistillerUIHandleAndroid); | 31 DISALLOW_COPY_AND_ASSIGN(DistillerUIHandleAndroid); |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 // Registers the FeedbackReporter's native methods through JNI. | |
| 35 bool RegisterUIHandle(JNIEnv* env); | |
| 36 | |
| 37 } // namespace android | 34 } // namespace android |
| 38 | 35 |
| 39 } // namespace dom_distiller | 36 } // namespace dom_distiller |
| 40 | 37 |
| 41 #endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ | 38 #endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ |
| OLD | NEW |