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

Unified Diff: chrome/browser/tab_contents/tab_contents_view_mac.h

Issue 9215002: Fix window zoom in a sane way, remove nasty casts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents_view_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_view_mac.h
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.h b/chrome/browser/tab_contents/tab_contents_view_mac.h
index 3e5b0384acd788228df1183e4b57fc719902f4ba..d8082fcca687d20315a9fb29181eb9fbb178b9f6 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.h
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.h
@@ -119,10 +119,6 @@ class TabContentsViewMac : public TabContentsView {
void CloseTab();
TabContents* tab_contents() { return tab_contents_; }
- int preferred_width() const { return preferred_width_; }
- void set_preferred_width(int preferred_width) {
- preferred_width_ = preferred_width;
- }
private:
// The TabContents whose contents we display.
@@ -141,9 +137,6 @@ class TabContentsViewMac : public TabContentsView {
// The context menu. Callbacks are asynchronous so we need to keep it around.
scoped_ptr<RenderViewContextMenuMac> context_menu_;
- // The page content's intrinsic width.
- int preferred_width_;
-
// The overlaid view. Owned by the caller of |InstallOverlayView|; this is a
// weak reference.
NSView* overlaid_view_;
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698