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 4d74fc8c720b4409d05e021a9177f8cf3426e005..1c684021b6b6b267b4bbb7f1979d56a1819c6796 100644 |
--- a/chrome/browser/ui/extensions/shell_window.h |
+++ b/chrome/browser/ui/extensions/shell_window.h |
@@ -27,6 +27,7 @@ class WebContents; |
namespace extensions { |
class Extension; |
class WindowController; |
+struct DraggableRegion; |
Ben Goodger (Google)
2012/08/07 20:45:27
Is there an apps namespace that this can go into?
jianli
2012/08/07 20:48:15
Unfortunately there is not an apps or related name
|
} |
// ShellWindow is the type of window used by platform apps. Shell windows |
@@ -78,6 +79,10 @@ class ShellWindow : public content::NotificationObserver, |
virtual void SetFullscreen(bool fullscreen) {} |
virtual bool IsFullscreenOrPending() const; |
+ // Called when the draggable regions are changed. |
+ virtual void UpdateDraggableRegions( |
+ const std::vector<extensions::DraggableRegion>& regions) {} |
+ |
// Call to notify ShellRegistry and delete the window. Subclasses should |
// invoke this method instead of using "delete this". |
void OnNativeClose(); |