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

Unified Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 17431003: Dragging panels near screen edge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dragging panels near screen edge (comments) Created 7 years, 6 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
Index: chrome/browser/extensions/api/tabs/tabs_api.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc
index 81d938e97ae29e6b6e555527f49811fd90f2a4f9..77f08ca2aa585bb43dc82b5e853ed442c0e7d5b4 100644
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -752,6 +752,8 @@ bool WindowsUpdateFunction::RunImpl() {
bounds = controller->window()->GetRestoredBounds();
else
bounds = controller->window()->GetBounds();
+ // TODO: Updating bounds during a drag can cause problems and a more general
+ // solution is needed. See http://crbug.com/251813 .
flackr 2013/06/20 23:00:57 nit: I'd put this on the call to SetBounds.
varkha 2013/06/20 23:10:04 Done.
bool set_bounds = false;
// Any part of the bounds can optionally be set by the caller.
« ash/wm/panels/panel_layout_manager.cc ('K') | « ash/wm/panels/panel_window_resizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698