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

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

Issue 671503005: Plumb composition character bounds for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 #if defined(OS_MACOSX) 331 #if defined(OS_MACOSX)
332 // Does any event handling necessary for plugin IME; should be called after 332 // Does any event handling necessary for plugin IME; should be called after
333 // the plugin has already had a chance to process the event. If plugin IME is 333 // the plugin has already had a chance to process the event. If plugin IME is
334 // not enabled, this is a no-op, so it is always safe to call. 334 // not enabled, this is a no-op, so it is always safe to call.
335 // Returns true if the event was handled by IME. 335 // Returns true if the event was handled by IME.
336 virtual bool PostProcessEventForPluginIme( 336 virtual bool PostProcessEventForPluginIme(
337 const NativeWebKeyboardEvent& event) = 0; 337 const NativeWebKeyboardEvent& event) = 0;
338 #endif 338 #endif
339 339
340 #if defined(OS_MACOSX) || defined(USE_AURA) 340 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
341 // Updates the range of the marked text in an IME composition. 341 // Updates the range of the marked text in an IME composition.
342 virtual void ImeCompositionRangeChanged( 342 virtual void ImeCompositionRangeChanged(
343 const gfx::Range& range, 343 const gfx::Range& range,
344 const std::vector<gfx::Rect>& character_bounds) = 0; 344 const std::vector<gfx::Rect>& character_bounds) = 0;
345 #endif 345 #endif
346 346
347 #if defined(OS_WIN) 347 #if defined(OS_WIN)
348 virtual void SetParentNativeViewAccessible( 348 virtual void SetParentNativeViewAccessible(
349 gfx::NativeViewAccessible accessible_parent) = 0; 349 gfx::NativeViewAccessible accessible_parent) = 0;
350 350
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 424 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
425 425
426 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 426 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
427 427
428 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 428 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
429 }; 429 };
430 430
431 } // namespace content 431 } // namespace content
432 432
433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698