| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |