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

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

Issue 11410024: ui: Remove gfx::Size::ClampToNonNegative, prevent negative sizes always. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: negative-width Created 7 years, 11 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
« no previous file with comments | « cc/draw_quad_unittest.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/shell_window.h
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
index 692c8248f4c658d41f72329f7247e78d2ff7cb9f..8c03b014be21b5189b3027a02408d8364950fb8a 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -62,8 +62,9 @@ class ShellWindow : public content::NotificationObserver,
Frame frame;
// Specify the initial content bounds of the window (excluding any window
- // decorations). INT_MIN designates 'unspecified' for any coordinate, and
- // should be replaced with a default value.
+ // decorations). INT_MIN designates 'unspecified' for the position
+ // components, and 0 for the size components. When unspecified, they should
+ // be replaced with a default value.
gfx::Rect bounds;
gfx::Size minimum_size;
« no previous file with comments | « cc/draw_quad_unittest.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698