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

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

Issue 147202: Added support for Text only zoom... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_delegate.h
===================================================================
--- chrome/browser/tab_contents/tab_contents_delegate.h (revision 19223)
+++ chrome/browser/tab_contents/tab_contents_delegate.h (working copy)
@@ -9,6 +9,7 @@
#include "base/gfx/native_widget_types.h"
#include "base/gfx/rect.h"
#include "chrome/common/page_transition_types.h"
+#include "chrome/common/page_zoom.h"
#include "chrome/common/renderer_preferences.h"
#include "webkit/glue/context_menu.h"
#include "webkit/glue/window_open_disposition.h"
@@ -98,7 +99,7 @@
virtual void ContentsMouseEvent(TabContents* source, bool motion) { }
// Request the delegate to change the zoom level of the current tab.
- virtual void ContentsZoomChange(bool zoom_in) { }
+ virtual void ContentsZoomChange(PageZoom::Function zoom_type) { }
// Check whether this contents is inside a window dedicated to running a web
// application.
@@ -208,7 +209,6 @@
protected:
~TabContentsDelegate() {}
RendererPreferences renderer_preferences_;
-
};
#endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698