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

Unified Diff: chrome/browser/browser.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/app/chrome_dll_resource.h ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 19223)
+++ chrome/browser/browser.h (working copy)
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_BROWSER_H_
#include <set>
+#include <string>
#include <vector>
#include "base/basictypes.h"
@@ -21,6 +22,7 @@
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
#include "chrome/browser/toolbar_model.h"
#include "chrome/common/notification_registrar.h"
+#include "chrome/common/page_zoom.h"
#include "chrome/common/pref_member.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
@@ -344,6 +346,8 @@
void ZoomIn();
void ZoomReset();
void ZoomOut();
+ void ZoomTextOnlyIn();
+ void ZoomTextOnlyOut();
// Focus various bits of UI
void FocusToolbar();
@@ -471,7 +475,7 @@
virtual void URLStarredChanged(TabContents* source, bool starred);
virtual void UpdateTargetURL(TabContents* source, const GURL& url);
virtual void ContentsMouseEvent(TabContents* source, bool motion);
- virtual void ContentsZoomChange(bool zoom_in);
+ virtual void ContentsZoomChange(PageZoom::Function zoom_type);
virtual void TabContentsFocused(TabContents* tab_content);
virtual bool IsApplication() const;
virtual void ConvertContentsToApplication(TabContents* source);
« no previous file with comments | « chrome/app/chrome_dll_resource.h ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698