summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/extensions')
-rw-r--r--chrome/browser/cocoa/extensions/extension_popup_controller.mm12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/cocoa/extensions/extension_popup_controller.mm
index 90413b8..d7a4a66 100644
--- a/chrome/browser/cocoa/extensions/extension_popup_controller.mm
+++ b/chrome/browser/cocoa/extensions/extension_popup_controller.mm
@@ -311,6 +311,18 @@ class DevtoolsNotificationBridge : public NotificationObserver {
[[self window] makeKeyAndOrderFront:self];
}
+- (void)windowDidResize:(NSNotification*)notification {
+ // Let the extension view know, so that it can tell plugins.
+ if (host_->view())
+ host_->view()->WindowFrameChanged();
+}
+
+- (void)windowDidMove:(NSNotification*)notification {
+ // Let the extension view know, so that it can tell plugins.
+ if (host_->view())
+ host_->view()->WindowFrameChanged();
+}
+
// Private (TestingAPI)
- (NSView*)view {
return extensionView_;