| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 | 476 |
| 477 // If accessibility is enabled, get the BrowserAccessibilityManager for | 477 // If accessibility is enabled, get the BrowserAccessibilityManager for |
| 478 // this frame, or create one if it doesn't exist yet, otherwise return | 478 // this frame, or create one if it doesn't exist yet, otherwise return |
| 479 // NULL. | 479 // NULL. |
| 480 BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager(); | 480 BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager(); |
| 481 | 481 |
| 482 void set_no_create_browser_accessibility_manager_for_testing(bool flag) { | 482 void set_no_create_browser_accessibility_manager_for_testing(bool flag) { |
| 483 no_create_browser_accessibility_manager_for_testing_ = flag; | 483 no_create_browser_accessibility_manager_for_testing_ = flag; |
| 484 } | 484 } |
| 485 | 485 |
| 486 #if defined(OS_WIN) | 486 #if defined(OS_MACOSX) |
| 487 void SetParentNativeViewAccessible( | |
| 488 gfx::NativeViewAccessible accessible_parent); | |
| 489 gfx::NativeViewAccessible GetParentNativeViewAccessible() const; | |
| 490 #elif defined(OS_MACOSX) | |
| 491 // Select popup menu related methods (for external popup menus). | 487 // Select popup menu related methods (for external popup menus). |
| 492 void DidSelectPopupMenuItem(int selected_index); | 488 void DidSelectPopupMenuItem(int selected_index); |
| 493 void DidCancelPopupMenu(); | 489 void DidCancelPopupMenu(); |
| 494 #elif defined(OS_ANDROID) | 490 #elif defined(OS_ANDROID) |
| 495 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); | 491 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); |
| 496 void DidCancelPopupMenu(); | 492 void DidCancelPopupMenu(); |
| 497 #endif | 493 #endif |
| 498 | 494 |
| 499 // PlzNavigate: Indicates that a navigation is ready to commit and can be | 495 // PlzNavigate: Indicates that a navigation is ready to commit and can be |
| 500 // handled by this RenderFrame. | 496 // handled by this RenderFrame. |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 | 935 |
| 940 // NOTE: This must be the last member. | 936 // NOTE: This must be the last member. |
| 941 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 937 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 942 | 938 |
| 943 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 939 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 944 }; | 940 }; |
| 945 | 941 |
| 946 } // namespace content | 942 } // namespace content |
| 947 | 943 |
| 948 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 944 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |