| 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_UI_WEBUI_NTP_NEW_TAB_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "components/prefs/pref_change_registrar.h" | 10 #include "components/prefs/pref_change_registrar.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 std::string GetContentSecurityPolicyChildSrc() const override; | 67 std::string GetContentSecurityPolicyChildSrc() const override; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 // Pointer back to the original profile. | 70 // Pointer back to the original profile. |
| 71 Profile* profile_; | 71 Profile* profile_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(NewTabHTMLSource); | 73 DISALLOW_COPY_AND_ASSIGN(NewTabHTMLSource); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 void OnShowBookmarkBarChanged(); | 76 void OnShowBookmarkBarChanged(); |
| 77 void OnDefaultFontSizeChanged(); |
| 77 | 78 |
| 78 Profile* GetProfile() const; | 79 Profile* GetProfile() const; |
| 79 | 80 |
| 80 PrefChangeRegistrar pref_change_registrar_; | 81 PrefChangeRegistrar pref_change_registrar_; |
| 81 | 82 |
| 82 DISALLOW_COPY_AND_ASSIGN(NewTabUI); | 83 DISALLOW_COPY_AND_ASSIGN(NewTabUI); |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ | 86 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ |
| OLD | NEW |