diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 21:55:55 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 21:55:55 +0000 |
commit | 580522638fdabb4d48fe2eae68f263f61fda3129 (patch) | |
tree | c647913d4de33a69929a9d0dbfec7b17da678f5e /chrome/browser/window_sizer_linux.cc | |
parent | 228890ac838a1b27efac2c8e379e005254ae126a (diff) | |
download | chromium_src-580522638fdabb4d48fe2eae68f263f61fda3129.zip chromium_src-580522638fdabb4d48fe2eae68f263f61fda3129.tar.gz chromium_src-580522638fdabb4d48fe2eae68f263f61fda3129.tar.bz2 |
Cleaning up lines longer than 80 chars under src/chrome/browser.
Command:
awk '{if ( length($0) > 80 ) { print FILENAME, FNR, $0 } }' *.cc *.h
# recursive
find . -type f \( -name '*.cc' -o -name '*.h' \) -exec awk '{if ( length($0) >
80 ) { print FILENAME, FNR, $0 } }' {} \;
Patch by Pierre-Antoine LaFayette <pierre.lafayette@gmail.com>
BUG=None
TEST=None
Code review URL: http://codereview.chromium.org/164566
Review URL: http://codereview.chromium.org/171066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/window_sizer_linux.cc')
-rw-r--r-- | chrome/browser/window_sizer_linux.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/window_sizer_linux.cc b/chrome/browser/window_sizer_linux.cc index 109d983..1dea211 100644 --- a/chrome/browser/window_sizer_linux.cc +++ b/chrome/browser/window_sizer_linux.cc @@ -118,7 +118,8 @@ gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) { // Limit to not overflow the work area right and bottom edges. gfx::Point limit( std::min(x + kWindowTilePixels, monitor_bounds.right() - size.width()), - std::min(y + kWindowTilePixels, monitor_bounds.bottom() - size.height())); + std::min(y + kWindowTilePixels, + monitor_bounds.bottom() - size.height())); // Adjust corner to now overflow the work area left and top edges, so // that if a popup does not fit the title-bar is remains visible. corner = gfx::Point( |