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

Unified Diff: chrome/browser/devtools/devtools_window.h

Issue 12871013: DevTools: respect minimum width/height when resizing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | « no previous file | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_window.h
===================================================================
--- chrome/browser/devtools/devtools_window.h (revision 187863)
+++ chrome/browser/devtools/devtools_window.h (working copy)
@@ -102,6 +102,12 @@
// Called only for the case when devtools window is docked to bottom.
int GetHeight(int container_height);
+ // Returns the minimum width devtools window needs.
+ int GetMinimumWidth();
+
+ // Returns the minimum height devtools window needs.
+ int GetMinimumHeight();
+
// Stores preferred devtools window width for this instance.
void SetWidth(int width);
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698