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

Unified Diff: chrome/browser/ui/constrained_window.cc

Issue 11044020: Make Web Intents picker in Views conform to latest mocks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move link underline into a separate CL Created 8 years, 2 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/constrained_window.cc
diff --git a/chrome/browser/ui/constrained_window.cc b/chrome/browser/ui/constrained_window.cc
index 9acd40c1b66ff4b3b0299bf2d752f5627bd96d32..398677272fdb5d612e9b0582c15b790e03d43664 100644
--- a/chrome/browser/ui/constrained_window.cc
+++ b/chrome/browser/ui/constrained_window.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "chrome/browser/themes/theme_service.h"
+#include "chrome/browser/ui/constrained_window_constants.h"
#include "grit/theme_resources.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/resource/resource_bundle.h"
@@ -40,6 +41,14 @@ SkColor ConstrainedWindow::GetSeparatorColor() {
return SkColorSetRGB(0xE0, 0xE0, 0xE0);
}
+// static
+gfx::Insets ConstrainedWindow::GetDefaultInsets() {
+ return gfx::Insets(ConstrainedWindowConstants::kClientTopPadding,
+ ConstrainedWindowConstants::kHorizontalPadding,
+ ConstrainedWindowConstants::kClientBottomPadding,
+ ConstrainedWindowConstants::kHorizontalPadding);
+}
+
void ConstrainedWindow::FocusConstrainedWindow() {
}

Powered by Google App Engine
This is Rietveld 408576698