Chromium Code Reviews| Index: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
| diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
| index a56a3e56c7c472b25460cd625af99bab2dcceb9a..8a1c1aa172f4d293d5544658051d586432fa3b56 100644 |
| --- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
| +++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
| @@ -7,8 +7,10 @@ |
| #import <Cocoa/Cocoa.h> |
| +#include <vector> |
|
Robert Sesek
2012/08/09 14:52:44
Line 9 should be after this, not before.
|
| #include "base/memory/scoped_nsobject.h" |
| #include "chrome/browser/ui/extensions/shell_window.h" |
| +#include "chrome/common/extensions/draggable_region.h" |
| #include "ui/gfx/rect.h" |
| class Profile; |
| @@ -70,10 +72,15 @@ class ShellWindowCocoa : public ShellWindow { |
| private: |
| virtual ~ShellWindowCocoa(); |
| + // ShellWindow implementation. |
| + virtual void UpdateDraggableRegions( |
| + const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; |
| + |
| NSWindow* window() const; |
| void InstallView(); |
| void UninstallView(); |
| + void InstallDraggableRegionViews(); |
| bool has_frame_; |
| @@ -83,6 +90,8 @@ class ShellWindowCocoa : public ShellWindow { |
| scoped_nsobject<ShellWindowController> window_controller_; |
| NSInteger attention_request_id_; // identifier from requestUserAttention |
| + std::vector<extensions::DraggableRegion> draggable_regions_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa); |
| }; |