| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 | 468 |
| 469 // Get the BrowserAccessibilityManager for the root of the frame tree, | 469 // Get the BrowserAccessibilityManager for the root of the frame tree, |
| 470 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); | 470 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); |
| 471 | 471 |
| 472 // Get the BrowserAccessibilityManager for the root of the frame tree, | 472 // Get the BrowserAccessibilityManager for the root of the frame tree, |
| 473 // or create it if it doesn't already exist. | 473 // or create it if it doesn't already exist. |
| 474 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager(); | 474 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager(); |
| 475 | 475 |
| 476 void RejectMouseLockOrUnlockIfNecessary(); | 476 void RejectMouseLockOrUnlockIfNecessary(); |
| 477 | 477 |
| 478 #if defined(OS_WIN) | |
| 479 gfx::NativeViewAccessible GetParentNativeViewAccessible(); | |
| 480 #endif | |
| 481 | |
| 482 void set_renderer_initialized(bool renderer_initialized) { | 478 void set_renderer_initialized(bool renderer_initialized) { |
| 483 renderer_initialized_ = renderer_initialized; | 479 renderer_initialized_ = renderer_initialized; |
| 484 } | 480 } |
| 485 | 481 |
| 486 // Indicates if the render widget host should track the render widget's size | 482 // Indicates if the render widget host should track the render widget's size |
| 487 // as opposed to visa versa. | 483 // as opposed to visa versa. |
| 488 void SetAutoResize(bool enable, | 484 void SetAutoResize(bool enable, |
| 489 const gfx::Size& min_size, | 485 const gfx::Size& min_size, |
| 490 const gfx::Size& max_size); | 486 const gfx::Size& max_size); |
| 491 | 487 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; | 828 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; |
| 833 | 829 |
| 834 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 830 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 835 | 831 |
| 836 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 832 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 837 }; | 833 }; |
| 838 | 834 |
| 839 } // namespace content | 835 } // namespace content |
| 840 | 836 |
| 841 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 837 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |