| Index: chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 110269)
|
| +++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy)
|
| @@ -56,9 +56,6 @@
|
| - (void)clearTabContentsView;
|
| - (void)closeTabAfterEvent;
|
| - (void)viewDidBecomeFirstResponder:(NSNotification*)notification;
|
| -// Notify the RenderWidgetHost that the frame was updated so it can resize
|
| -// its contents.
|
| -- (void)renderWidgetHostWasResized;
|
| @end
|
|
|
| namespace tab_contents_view_mac {
|
| @@ -85,6 +82,7 @@
|
| void TabContentsViewMac::CreateView(const gfx::Size& initial_size) {
|
| TabContentsViewCocoa* view =
|
| [[TabContentsViewCocoa alloc] initWithTabContentsViewMac:this];
|
| + [view setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
|
| cocoa_view_.reset(view);
|
| }
|
|
|
| @@ -510,19 +508,6 @@
|
| [dragSource_ startDrag];
|
| }
|
|
|
| -- (void)setFrameWithDeferredUpdate:(NSRect)frameRect {
|
| - [super setFrame:frameRect];
|
| - [self performSelector:@selector(renderWidgetHostWasResized)
|
| - withObject:nil
|
| - afterDelay:0];
|
| -}
|
| -
|
| -- (void)renderWidgetHostWasResized {
|
| - TabContents* tabContents = [self tabContents];
|
| - if (tabContents->render_view_host())
|
| - tabContents->render_view_host()->WasResized();
|
| -}
|
| -
|
| // NSDraggingSource methods
|
|
|
| // Returns what kind of drag operations are available. This is a required
|
|
|
| Property changes on: chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| ___________________________________________________________________
|
| Added: svn:mergeinfo
|
|
|
|
|