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

Unified Diff: cc/layers/layer.h

Issue 1604053002: cc: Fix enum style conformance in InputHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enumname: fixcasts Created 4 years, 11 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 | « cc/input/main_thread_scrolling_reason.h ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index aff32fa02772b336f335d39ac743d243240d8719..94f827139fe9205e7a3df7468287e7b84224e65b 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -277,8 +277,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
}
bool user_scrollable_vertical() const { return user_scrollable_vertical_; }
- void AddMainThreadScrollingReasons(
- InputHandler::MainThreadScrollingReason main_thread_scrolling_reasons);
+ void AddMainThreadScrollingReasons(uint32_t main_thread_scrolling_reasons);
void ClearMainThreadScrollingReasons();
bool should_scroll_on_main_thread() const {
return !!main_thread_scrolling_reasons_;
@@ -726,7 +725,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
uint64_t element_id_;
uint32_t mutable_properties_;
gfx::Vector2dF offset_to_transform_parent_;
- InputHandler::MainThreadScrollingReason main_thread_scrolling_reasons_;
+ uint32_t main_thread_scrolling_reasons_;
bool should_flatten_transform_from_property_tree_ : 1;
bool have_wheel_event_handlers_ : 1;
bool have_scroll_event_handlers_ : 1;
« no previous file with comments | « cc/input/main_thread_scrolling_reason.h ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698