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

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

Issue 10822004: Draggable region support for frameless app window on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 4 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/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();
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698