summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/standard_layout.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 22:14:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 22:14:38 +0000
commit91e81aeeccfb493d3503368d7b30a0f3b80a3478 (patch)
tree0d6b7049b614cb9e3aa9f29ff26a7ecaee0d9fc7 /chrome/browser/views/standard_layout.h
parent5f9e0b82a61503101a80a3dee4df9f5b7017c8d1 (diff)
downloadchromium_src-91e81aeeccfb493d3503368d7b30a0f3b80a3478.zip
chromium_src-91e81aeeccfb493d3503368d7b30a0f3b80a3478.tar.gz
chromium_src-91e81aeeccfb493d3503368d7b30a0f3b80a3478.tar.bz2
Move color_utils, text_elider, drag_utils, accessibility_types, standard_layout to new locations in app/ and views/
http://crbug.com/11387 Review URL: http://codereview.chromium.org/113143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/standard_layout.h')
-rw-r--r--chrome/browser/views/standard_layout.h77
1 files changed, 0 insertions, 77 deletions
diff --git a/chrome/browser/views/standard_layout.h b/chrome/browser/views/standard_layout.h
deleted file mode 100644
index d72c7f3..0000000
--- a/chrome/browser/views/standard_layout.h
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_VIEWS_STANDARD_LAYOUT_H__
-#define CHROME_BROWSER_VIEWS_STANDARD_LAYOUT_H__
-
-#include "views/grid_layout.h"
-
-//
-// This file contains some constants we use to implement our standard panel
-// layout.
-// see: spec 21/4
-
-// Left or right margin.
-const int kPanelHorizMargin = 13;
-
-// Top or bottom margin.
-const int kPanelVertMargin = 13;
-
-// If some UI has some sub UI. Indent horizontally by the following value.
-const int kPanelHorizIndentation = 24;
-
-// When several controls are aligned vertically, the baseline should be spaced
-// by the following number of pixels.
-const int kPanelVerticalSpacing = 32;
-
-// Vertical spacing between sub UI.
-const int kPanelSubVerticalSpacing = 24;
-
-// Vertical spacing between a label and some control.
-const int kLabelToControlVerticalSpacing = 8;
-
-// Vertical spacing between controls that are logically related.
-const int kRelatedControlVerticalSpacing = 8;
-
-// Small vertical spacing between controls that are logically related.
-const int kRelatedControlSmallVerticalSpacing = 4;
-
-// Vertical spacing between controls that are logically unrelated.
-const int kUnrelatedControlVerticalSpacing = 20;
-
-// Larger vertical spacing between unrelated controls.
-const int kUnrelatedControlLargeVerticalSpacing = 30;
-
-// Small horizontal spacing between controls that are logically related.
-const int kRelatedControlSmallHorizontalSpacing = 8;
-
-// Horizontal spacing between controls that are logically related.
-const int kRelatedControlHorizontalSpacing = 8;
-
-// Horizontal spacing between controls that are logically unrelated.
-const int kUnrelatedControlHorizontalSpacing = 12;
-
-// Larger horizontal spacing between unrelated controls.
-const int kUnrelatedControlLargeHorizontalSpacing = 20;
-
-// Vertical spacing between the edge of the window and the
-// top or bottom of a button.
-const int kButtonVEdgeMargin = 6;
-
-// Vertical spacing between the edge of the window and the
-// left or right of a button.
-const int kButtonHEdgeMargin = 7;
-
-// Horizontal spacing between buttons that are logically related.
-const int kRelatedButtonHSpacing = 6;
-
-// Creates a GridLayout with kPanel*Margin insets.
-static views::GridLayout* CreatePanelGridLayout(views::View* host) {
- views::GridLayout* layout = new views::GridLayout(host);
- layout->SetInsets(kPanelVertMargin, kPanelHorizMargin,
- kPanelVertMargin, kPanelHorizMargin);
- return layout;
-}
-
-#endif // CHROME_BROWSER_VIEWS_STANDARD_LAYOUT_H__