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

Unified Diff: public/web/WebTopControlsState.h

Issue 893683003: Implement top controls show/hide functionality for main thread scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix hiding at the page bottom issue Created 5 years, 10 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
Index: public/web/WebTopControlsState.h
diff --git a/public/platform/WebImageGenerator.h b/public/web/WebTopControlsState.h
similarity index 88%
copy from public/platform/WebImageGenerator.h
copy to public/web/WebTopControlsState.h
index bb17f4d6df96a2dcc73efa069d2c6646a2338ab9..87234ea9057bad36f8a0cb4ef89176c9cc94b5b9 100644
--- a/public/platform/WebImageGenerator.h
+++ b/public/web/WebTopControlsState.h
@@ -28,21 +28,17 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebImageGenerator_h
-#define WebImageGenerator_h
-
-#include "WebCommon.h"
-
-class SkData;
-class SkImageGenerator;
+#ifndef WebTopControlsState_h
+#define WebTopControlsState_h
namespace blink {
-class BLINK_EXPORT WebImageGenerator {
-public:
- static SkImageGenerator* create(SkData*);
+// Represents Top Controls State.
bokan 2015/02/13 12:35:25 Should note in comment here that these should matc
majidvp 2015/02/18 21:03:57 Done.
+enum WebTopControlsState {
+ WebTopControlsShown = 1,
+ WebTopControlsHidden = 2,
+ WebTopControlsBoth = 3
};
} // namespace blink
-
#endif

Powered by Google App Engine
This is Rietveld 408576698