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

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

Issue 2821413002: views: support dialog width snapping once and for all (Closed)
Patch Set: fix failing unittest 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
Index: chrome/browser/ui/views/harmony/harmony_layout_provider.h
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_provider.h b/chrome/browser/ui/views/harmony/harmony_layout_provider.h
index a96c5b2eb186104cb8569ffe406cd15a24bb6dbf..4db4e62e65c9aba0a4794849aca2fd42b64325ea 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_provider.h
+++ b/chrome/browser/ui/views/harmony/harmony_layout_provider.h
@@ -23,8 +23,8 @@ class HarmonyLayoutProvider : public ChromeLayoutProvider {
bool UseExtraDialogPadding() const override;
bool ShouldShowWindowIcon() const override;
bool IsHarmonyMode() const override;
- int GetDialogPreferredWidth(DialogWidth width) const override;
const views::TypographyProvider& GetTypographyProvider() const override;
+ int GetSnappedDialogWidth(int min_width) const override;
private:
const HarmonyTypographyProvider typography_provider_;
« no previous file with comments | « chrome/browser/ui/views/harmony/chrome_layout_provider.cc ('k') | chrome/browser/ui/views/harmony/harmony_layout_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698