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

Unified Diff: chrome/browser/ui/views/constrained_window_frame_simple.h

Issue 11077006: Correct padding and focus ring for frameless constrained window dialog (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/views/constrained_window_frame_simple.h
diff --git a/chrome/browser/ui/views/constrained_window_frame_simple.h b/chrome/browser/ui/views/constrained_window_frame_simple.h
index 3a141a558150a93dce89a80077f7257dd5cadcab..31d4e0fbd4ae5bf494fdec27a9ec5ebde8ce8ceb 100644
--- a/chrome/browser/ui/views/constrained_window_frame_simple.h
+++ b/chrome/browser/ui/views/constrained_window_frame_simple.h
@@ -65,6 +65,14 @@ class ConstrainedWindowFrameSimple : public views::NonClientFrameView,
views::ImageButton* CreateCloseButton();
+ // Add padding to the given View object.
+ views::View* AddPadding(
+ views::View* viewToPad,
+ int top,
+ int left,
+ int bottom,
+ int right);
+
ConstrainedWindowViews* container_;
views::LayoutManager* layout_;

Powered by Google App Engine
This is Rietveld 408576698