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

Side by Side Diff: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc

Issue 11824010: Normalize includes in webkit/compositor_bindings to chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "web_to_ccinput_handler_adapter.h" 5 #include "webkit/compositor_bindings/web_to_ccinput_handler_adapter.h"
6 6
7 #include "third_party/WebKit/Source/Platform/chromium/public/WebInputHandlerClie nt.h" 7 #include "third_party/WebKit/Source/Platform/chromium/public/WebInputHandlerClie nt.h"
8 8
9 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, cc_name) \ 9 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, cc_name) \
10 COMPILE_ASSERT(int(WebKit::webkit_name) == int(cc::cc_name), mismatching_enu ms) 10 COMPILE_ASSERT(int(WebKit::webkit_name) == int(cc::cc_name), mismatching_enu ms)
11 11
12 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollStatusOnMainThread, In putHandlerClient::ScrollOnMainThread); 12 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollStatusOnMainThread, In putHandlerClient::ScrollOnMainThread);
13 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollStatusStarted, InputHa ndlerClient::ScrollStarted); 13 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollStatusStarted, InputHa ndlerClient::ScrollStarted);
14 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollStatusIgnored, InputHa ndlerClient::ScrollIgnored); 14 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollStatusIgnored, InputHa ndlerClient::ScrollIgnored);
15 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollInputTypeGesture, Inpu tHandlerClient::Gesture); 15 COMPILE_ASSERT_MATCHING_ENUM(WebInputHandlerClient::ScrollInputTypeGesture, Inpu tHandlerClient::Gesture);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 double monotonicTimeSeconds = (time - base::TimeTicks()).InSecondsF(); 109 double monotonicTimeSeconds = (time - base::TimeTicks()).InSecondsF();
110 m_handler->animate(monotonicTimeSeconds); 110 m_handler->animate(monotonicTimeSeconds);
111 } 111 }
112 112
113 void WebToCCInputHandlerAdapter::mainThreadHasStoppedFlinging() 113 void WebToCCInputHandlerAdapter::mainThreadHasStoppedFlinging()
114 { 114 {
115 m_handler->mainThreadHasStoppedFlinging(); 115 m_handler->mainThreadHasStoppedFlinging();
116 } 116 }
117 117
118 } // namespace WebKit 118 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698