| 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" |
| 11 | 11 |
| 12 namespace dom_distiller { | 12 namespace dom_distiller { |
| 13 | 13 |
| 14 namespace android { | 14 namespace android { |
| 15 | 15 |
| 16 class DistillerUIHandleAndroid : public DistillerUIHandle { | 16 class DistillerUIHandleAndroid : public DistillerUIHandle { |
| 17 public: | 17 public: |
| 18 DistillerUIHandleAndroid() {} | 18 DistillerUIHandleAndroid() {} |
| 19 ~DistillerUIHandleAndroid() override {} | 19 ~DistillerUIHandleAndroid() override {} |
| 20 | 20 |
| 21 void OpenSettings(content::WebContents* web_contents) override; | 21 void OpenSettings(content::WebContents* web_contents) override; |
| 22 | 22 |
| 23 void ClosePanel(bool animate) override; | |
| 24 | |
| 25 private: | 23 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(DistillerUIHandleAndroid); | 24 DISALLOW_COPY_AND_ASSIGN(DistillerUIHandleAndroid); |
| 27 }; | 25 }; |
| 28 | 26 |
| 29 } // namespace android | 27 } // namespace android |
| 30 | 28 |
| 31 } // namespace dom_distiller | 29 } // namespace dom_distiller |
| 32 | 30 |
| 33 #endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ | 31 #endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_ |
| OLD | NEW |