Chromium Code Reviews| 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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {} | 68 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {} |
| 69 | 69 |
| 70 // Get the root BrowserAccessibilityManager for this frame tree. | 70 // Get the root BrowserAccessibilityManager for this frame tree. |
| 71 virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); | 71 virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); |
| 72 | 72 |
| 73 // Get the root BrowserAccessibilityManager for this frame tree, | 73 // Get the root BrowserAccessibilityManager for this frame tree, |
| 74 // or create it if it doesn't exist. | 74 // or create it if it doesn't exist. |
| 75 virtual BrowserAccessibilityManager* | 75 virtual BrowserAccessibilityManager* |
| 76 GetOrCreateRootBrowserAccessibilityManager(); | 76 GetOrCreateRootBrowserAccessibilityManager(); |
| 77 | 77 |
| 78 virtual void Undo(); | |
|
nasko
2015/05/13 17:24:08
Each method needs a comment, just like the rest of
lgarron
2015/05/13 21:58:40
I've added "// Send the OS Undo action to the focu
Charlie Reis
2015/05/14 20:36:28
Sounds good.
nasko
2015/05/14 20:45:23
That looks fine.
| |
| 79 virtual void Redo(); | |
| 80 virtual void Cut(); | |
| 81 virtual void Copy(); | |
| 82 virtual void CopyToFindPboard(); | |
| 83 virtual void Paste(); | |
| 84 virtual void PasteAndMatchStyle(); | |
| 85 virtual void SelectAll(); | |
| 86 | |
| 78 #if defined(OS_WIN) | 87 #if defined(OS_WIN) |
| 79 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 88 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
| 80 #endif | 89 #endif |
| 81 | 90 |
| 82 protected: | 91 protected: |
| 83 virtual ~RenderWidgetHostDelegate() {} | 92 virtual ~RenderWidgetHostDelegate() {} |
| 84 }; | 93 }; |
| 85 | 94 |
| 86 } // namespace content | 95 } // namespace content |
| 87 | 96 |
| 88 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 97 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |