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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 5906001: Makes linux honor instant_is_active when instant temporarily hides. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
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 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 // the page title and we know we want to update history. 727 // the page title and we know we want to update history.
728 void UpdateHistoryPageTitle(const NavigationEntry& entry); 728 void UpdateHistoryPageTitle(const NavigationEntry& entry);
729 729
730 // Gets the zoom level for this tab. 730 // Gets the zoom level for this tab.
731 double GetZoomLevel() const; 731 double GetZoomLevel() const;
732 732
733 // Gets the zoom percent for this tab. 733 // Gets the zoom percent for this tab.
734 int GetZoomPercent(bool* enable_increment, bool* enable_decrement); 734 int GetZoomPercent(bool* enable_increment, bool* enable_decrement);
735 735
736 // Shows a fade effect over this tab contents. Repeated calls will be ignored 736 // Shows a fade effect over this tab contents. Repeated calls will be ignored
737 // until the fade is canceled. 737 // until the fade is canceled. If |animate| is true the fade should animate.
738 void FadeForInstant(); 738 void FadeForInstant(bool animate);
739 739
740 // Immediately removes the fade. 740 // Immediately removes the fade.
741 void CancelInstantFade(); 741 void CancelInstantFade();
742 742
743 // Opens view-source tab for this contents. 743 // Opens view-source tab for this contents.
744 void ViewSource(); 744 void ViewSource();
745 745
746 // Gets the minimum/maximum zoom percent. 746 // Gets the minimum/maximum zoom percent.
747 int minimum_zoom_percent() const { return minimum_zoom_percent_; } 747 int minimum_zoom_percent() const { return minimum_zoom_percent_; }
748 int maximum_zoom_percent() const { return maximum_zoom_percent_; } 748 int maximum_zoom_percent() const { return maximum_zoom_percent_; }
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 // Content restrictions, used to disable print/copy etc based on content's 1344 // Content restrictions, used to disable print/copy etc based on content's
1345 // (full-page plugins for now only) permissions. 1345 // (full-page plugins for now only) permissions.
1346 int content_restrictions_; 1346 int content_restrictions_;
1347 1347
1348 // --------------------------------------------------------------------------- 1348 // ---------------------------------------------------------------------------
1349 1349
1350 DISALLOW_COPY_AND_ASSIGN(TabContents); 1350 DISALLOW_COPY_AND_ASSIGN(TabContents);
1351 }; 1351 };
1352 1352
1353 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1353 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698