| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_WEBUI_INTERSTITIALS_INTERSTITIAL_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_INTERSTITIALS_INTERSTITIAL_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_INTERSTITIALS_INTERSTITIAL_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_INTERSTITIALS_INTERSTITIAL_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "content/public/browser/url_data_source.h" | |
| 12 #include "content/public/browser/web_ui_controller.h" | 11 #include "content/public/browser/web_ui_controller.h" |
| 13 | 12 |
| 14 class Profile; | |
| 15 | |
| 16 namespace content { | |
| 17 class WebContents; | |
| 18 } | |
| 19 | |
| 20 // Handler for chrome://interstitials demonstration pages. This class is not | 13 // Handler for chrome://interstitials demonstration pages. This class is not |
| 21 // used in displaying any real interstitials. | 14 // used in displaying any real interstitials. |
| 22 class InterstitialUI : public content::WebUIController { | 15 class InterstitialUI : public content::WebUIController { |
| 23 public: | 16 public: |
| 24 explicit InterstitialUI(content::WebUI* web_ui); | 17 explicit InterstitialUI(content::WebUI* web_ui); |
| 25 | 18 |
| 26 ~InterstitialUI() override; | 19 ~InterstitialUI() override; |
| 27 | 20 |
| 28 private: | 21 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(InterstitialUI); | 22 DISALLOW_COPY_AND_ASSIGN(InterstitialUI); |
| 30 }; | 23 }; |
| 31 | 24 |
| 32 #endif // CHROME_BROWSER_UI_WEBUI_INTERSTITIALS_INTERSTITIAL_UI_H_ | 25 #endif // CHROME_BROWSER_UI_WEBUI_INTERSTITIALS_INTERSTITIAL_UI_H_ |
| OLD | NEW |