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

Unified Diff: chrome/browser/ui/extensions/shell_window.h

Issue 11359194: Revert 167255 - ui: Remove gfx::Size::ClampToNonNegative, prevent negative sizes always. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/extensions/shell_window.h
===================================================================
--- chrome/browser/ui/extensions/shell_window.h (revision 167502)
+++ chrome/browser/ui/extensions/shell_window.h (working copy)
@@ -55,8 +55,8 @@
Frame frame;
// Specify the initial bounds of the window. INT_MIN designates
- // 'unspecified' for the position components, and 0 for the size components.
- // When unspecified, they should be replaced with a default value.
+ // 'unspecified' for any coordinate, and should be replaced with a default
+ // value.
gfx::Rect bounds;
// Specify if bounds should be restored from a previous time.
bool restore_position;
« no previous file with comments | « chrome/browser/extensions/api/app_window/app_window_api.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698