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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Make boliu's requested changes Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 230 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
231 231
232 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); 232 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata);
233 233
234 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); 234 void SetSynchronousCompositorClient(SynchronousCompositorClient* client);
235 235
236 SynchronousCompositorClient* synchronous_compositor_client() const { 236 SynchronousCompositorClient* synchronous_compositor_client() const {
237 return synchronous_compositor_client_; 237 return synchronous_compositor_client_;
238 } 238 }
239 239
240 void OnSetOverscrollRefreshHandler();
boliu 2016/12/06 00:58:16 OverscrollRefreshHandlerSet?
rlanday 2016/12/06 03:25:26 Ok
241
240 static void OnContextLost(); 242 static void OnContextLost();
241 243
242 // TextInputManager::Observer overrides. 244 // TextInputManager::Observer overrides.
243 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, 245 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager,
244 RenderWidgetHostViewBase* updated_view, 246 RenderWidgetHostViewBase* updated_view,
245 bool did_change_state) override; 247 bool did_change_state) override;
246 248
247 private: 249 private:
248 void RunAckCallbacks(); 250 void RunAckCallbacks();
249 251
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 gfx::Vector2dF last_scroll_offset_; 379 gfx::Vector2dF last_scroll_offset_;
378 380
379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 381 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
380 382
381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 383 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
382 }; 384 };
383 385
384 } // namespace content 386 } // namespace content
385 387
386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 388 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698