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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_view_mac.mm

Issue 6269009: Move loose extension files in c/b/ui/cocoa/ into the extensions/ subdir... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/extension_view_mac.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/cocoa/extension_view_mac.h" 5 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h"
6 6
7 #include "chrome/browser/extensions/extension_host.h" 7 #include "chrome/browser/extensions/extension_host.h"
8 #include "chrome/browser/renderer_host/render_view_host.h" 8 #include "chrome/browser/renderer_host/render_view_host.h"
9 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h" 9 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h"
10 10
11 // The minimum/maximum dimensions of the popup. 11 // The minimum/maximum dimensions of the popup.
12 const CGFloat ExtensionViewMac::kMinWidth = 25.0; 12 const CGFloat ExtensionViewMac::kMinWidth = 25.0;
13 const CGFloat ExtensionViewMac::kMinHeight = 25.0; 13 const CGFloat ExtensionViewMac::kMinHeight = 25.0;
14 const CGFloat ExtensionViewMac::kMaxWidth = 800.0; 14 const CGFloat ExtensionViewMac::kMaxWidth = 800.0;
15 const CGFloat ExtensionViewMac::kMaxHeight = 600.0; 15 const CGFloat ExtensionViewMac::kMaxHeight = 600.0;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 DCHECK(!render_widget_host_view_); 103 DCHECK(!render_widget_host_view_);
104 render_widget_host_view_ = new RenderWidgetHostViewMac(render_view_host()); 104 render_widget_host_view_ = new RenderWidgetHostViewMac(render_view_host());
105 105
106 // The RenderWidgetHostViewMac is owned by its native view, which is created 106 // The RenderWidgetHostViewMac is owned by its native view, which is created
107 // in an autoreleased state. retain it, so that it doesn't immediately 107 // in an autoreleased state. retain it, so that it doesn't immediately
108 // disappear. 108 // disappear.
109 [render_widget_host_view_->native_view() retain]; 109 [render_widget_host_view_->native_view() retain];
110 110
111 extension_host_->CreateRenderViewSoon(render_widget_host_view_); 111 extension_host_->CreateRenderViewSoon(render_widget_host_view_);
112 } 112 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/extension_view_mac.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698