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

Unified Diff: cc/input/top_controls_state.h

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge ShowTopControls into UpdateTopControlsState, use new TopControlsState enum in plumbing, gener… Created 7 years, 8 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: cc/input/top_controls_state.h
diff --git a/cc/input/top_controls_state.h b/cc/input/top_controls_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..ccb63bf1610cf86fca453eb097c2819c87545c7e
--- /dev/null
+++ b/cc/input/top_controls_state.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_INPUT_TOP_CONTROLS_STATE_H_
+#define CC_INPUT_TOP_CONTROLS_STATE_H_
+
+namespace cc {
+enum TopControlsState {
+#define DEFINE_TOP_CONTROLS_STATE(name, value) name = value,
+#include "cc/input/top_controls_state_list.h"
+#undef DEFINE_TOP_CONTROLS_STATE
+};
+}
+
+#endif // CC_INPUT_TOP_CONTROLS_STATE_H_
+

Powered by Google App Engine
This is Rietveld 408576698