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

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

Issue 1011523002: Confirm the compostion text on TAP gesture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 }; 326 };
327 void RequestVSyncUpdate(uint32 requests); 327 void RequestVSyncUpdate(uint32 requests);
328 void StartObservingRootWindow(); 328 void StartObservingRootWindow();
329 void StopObservingRootWindow(); 329 void StopObservingRootWindow();
330 void SendBeginFrame(base::TimeTicks frame_time, base::TimeDelta vsync_period); 330 void SendBeginFrame(base::TimeTicks frame_time, base::TimeDelta vsync_period);
331 bool Animate(base::TimeTicks frame_time); 331 bool Animate(base::TimeTicks frame_time);
332 332
333 // Handles all unprocessed and pending readback requests. 333 // Handles all unprocessed and pending readback requests.
334 void AbortPendingReadbackRequests(); 334 void AbortPendingReadbackRequests();
335 335
336 // Confirm existing composition text in the webpage and ask the input adapter
337 // to cancel its ongoing composition session.
338 void FinishImeCompositionSession();
339
336 // The model object. 340 // The model object.
337 RenderWidgetHostImpl* host_; 341 RenderWidgetHostImpl* host_;
338 342
339 // Used to control action dispatch at the next |OnVSync()| call. 343 // Used to control action dispatch at the next |OnVSync()| call.
340 uint32 outstanding_vsync_requests_; 344 uint32 outstanding_vsync_requests_;
341 345
342 bool is_showing_; 346 bool is_showing_;
343 347
344 // ContentViewCoreImpl is our interface to the view system. 348 // ContentViewCoreImpl is our interface to the view system.
345 ContentViewCoreImpl* content_view_core_; 349 ContentViewCoreImpl* content_view_core_;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 gfx::Vector2dF last_scroll_offset_; 414 gfx::Vector2dF last_scroll_offset_;
411 415
412 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 416 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
413 417
414 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 418 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
415 }; 419 };
416 420
417 } // namespace content 421 } // namespace content
418 422
419 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 423 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698