OLD | NEW |
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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 329 |
330 #if defined(OS_MACOSX) | 330 #if defined(OS_MACOSX) |
331 // Does any event handling necessary for plugin IME; should be called after | 331 // Does any event handling necessary for plugin IME; should be called after |
332 // the plugin has already had a chance to process the event. If plugin IME is | 332 // the plugin has already had a chance to process the event. If plugin IME is |
333 // not enabled, this is a no-op, so it is always safe to call. | 333 // not enabled, this is a no-op, so it is always safe to call. |
334 // Returns true if the event was handled by IME. | 334 // Returns true if the event was handled by IME. |
335 virtual bool PostProcessEventForPluginIme( | 335 virtual bool PostProcessEventForPluginIme( |
336 const NativeWebKeyboardEvent& event) = 0; | 336 const NativeWebKeyboardEvent& event) = 0; |
337 #endif | 337 #endif |
338 | 338 |
339 #if defined(OS_MACOSX) || defined(USE_AURA) | 339 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) |
340 // Updates the range of the marked text in an IME composition. | 340 // Updates the range of the marked text in an IME composition. |
341 virtual void ImeCompositionRangeChanged( | 341 virtual void ImeCompositionRangeChanged( |
342 const gfx::Range& range, | 342 const gfx::Range& range, |
343 const std::vector<gfx::Rect>& character_bounds) = 0; | 343 const std::vector<gfx::Rect>& character_bounds) = 0; |
344 #endif | 344 #endif |
345 | 345 |
346 #if defined(OS_WIN) | 346 #if defined(OS_WIN) |
347 virtual void SetParentNativeViewAccessible( | 347 virtual void SetParentNativeViewAccessible( |
348 gfx::NativeViewAccessible accessible_parent) = 0; | 348 gfx::NativeViewAccessible accessible_parent) = 0; |
349 | 349 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 423 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
424 | 424 |
425 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 425 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
426 | 426 |
427 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 427 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
428 }; | 428 }; |
429 | 429 |
430 } // namespace content | 430 } // namespace content |
431 | 431 |
432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |