| Index: chrome/browser/tab_contents/tab_contents.h
|
| diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
|
| index 918b063269c1cfe84a3adf14a5bda06b2bbfcb6a..256b40d14a59f13599cfc223276d9ab02a8d3260 100644
|
| --- a/chrome/browser/tab_contents/tab_contents.h
|
| +++ b/chrome/browser/tab_contents/tab_contents.h
|
| @@ -681,11 +681,19 @@ class TabContents : public PageNavigator,
|
| // the page title and we know we want to update history.
|
| void UpdateHistoryPageTitle(const NavigationEntry& entry);
|
|
|
| + // Sets the zoom level for this tab. Returns a request id that can
|
| + // be used to observe the corresponding ZOOM_LEVEL_CHANGED notification.
|
| + int SetZoomLevel(double zoom_level);
|
| +
|
| // Gets the zoom level for this tab.
|
| double GetZoomLevel() const;
|
|
|
| + // Sets the zoom percent for this tab. Returns a request id that can
|
| + // be used to observe the corresponding ZOOM_LEVEL_CHANGED notification.
|
| + int SetZoomPercent(double zoom_percent);
|
| +
|
| // Gets the zoom percent for this tab.
|
| - int GetZoomPercent(bool* enable_increment, bool* enable_decrement);
|
| + double GetZoomPercent(bool* enable_increment, bool* enable_decrement);
|
|
|
| // Shows a fade effect over this tab contents. Repeated calls will be ignored
|
| // until the fade is canceled. If |animate| is true the fade should animate.
|
|
|