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

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

Issue 11369039: Add setBounds method and browsertest for get/set bounds to app window API (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
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
index 231bb62388f8feb40293800993c783d88eb1307d..e2de50dea0c10783a0664f7e4a8be8b5dbf20373 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -106,6 +106,9 @@ class ShellWindow : public content::NotificationObserver,
// Save the window position in the prefs.
virtual void SaveWindowPosition();
+ // Sends an update message with the current bounds to the renderer.
+ void SendBoundsUpdate();
+
protected:
ShellWindow(Profile* profile,
const extensions::Extension* extension);

Powered by Google App Engine
This is Rietveld 408576698