Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Side by Side Diff: chrome/browser/ui/webui/ntp/new_tab_ui.h

Issue 2905433002: Refresh the Incognito NTP layout on default font size change (Closed)
Patch Set: s/tooWide/too-wide/ Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/md_incognito_tab.js ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698