| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 #endif | 338 #endif |
| 339 | 339 |
| 340 #if defined(OS_MACOSX) || defined(USE_AURA) | 340 #if defined(OS_MACOSX) || defined(USE_AURA) |
| 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 HWND GetAccessibleParentHWND() const = 0; |
| 349 gfx::NativeViewAccessible accessible_parent) = 0; | 349 virtual IAccessible* GetParentIAccessible() const = 0; |
| 350 | 350 |
| 351 // Returns an HWND that's given as the parent window for windowless Flash to | 351 // Returns an HWND that's given as the parent window for windowless Flash to |
| 352 // workaround crbug.com/301548. | 352 // workaround crbug.com/301548. |
| 353 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; | 353 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; |
| 354 | 354 |
| 355 // The callback that DetachPluginsHelper calls for each child window. Call | 355 // The callback that DetachPluginsHelper calls for each child window. Call |
| 356 // this directly if you want to do custom filtering on plugin windows first. | 356 // this directly if you want to do custom filtering on plugin windows first. |
| 357 static void DetachPluginWindowsCallback(HWND window); | 357 static void DetachPluginWindowsCallback(HWND window); |
| 358 #endif | 358 #endif |
| 359 | 359 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 uint32 renderer_frame_number_; | 425 uint32 renderer_frame_number_; |
| 426 | 426 |
| 427 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 427 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
| 428 | 428 |
| 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 430 }; | 430 }; |
| 431 | 431 |
| 432 } // namespace content | 432 } // namespace content |
| 433 | 433 |
| 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |