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

Unified Diff: chrome/browser/ui/views/harmony/harmony_layout_delegate.h

Issue 2765883004: Implement Harmony typography spec. (Closed)
Patch Set: respond to comments Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/harmony/harmony_layout_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/harmony/harmony_layout_delegate.h
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_delegate.h b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
index c750bfffc62dbb7eedceb24c7d8d4588b396fdc0..3fd09073953eb3070b66d32d50d8285ff3316a60 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_
#define CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_
+#include "chrome/browser/ui/views/harmony/harmony_typography_provider.h"
#include "chrome/browser/ui/views/harmony/layout_delegate.h"
class HarmonyLayoutDelegate : public LayoutDelegate {
@@ -25,8 +26,11 @@ class HarmonyLayoutDelegate : public LayoutDelegate {
bool IsHarmonyMode() const override;
int GetDialogPreferredWidth(DialogWidth width) const override;
bool ShouldShowWindowIcon() const override;
+ const views::TypographyProvider& GetTypographyProvider() const override;
private:
+ const HarmonyTypographyProvider typography_provider_;
+
DISALLOW_COPY_AND_ASSIGN(HarmonyLayoutDelegate);
};
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/harmony/harmony_layout_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698