OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 WebLocalFrame_h | 5 #ifndef WebLocalFrame_h |
6 #define WebLocalFrame_h | 6 #define WebLocalFrame_h |
7 | 7 |
8 #include "WebFrame.h" | 8 #include "WebFrame.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class WebAutofillClient; | 12 class WebAutofillClient; |
| 13 class WebFrameClient; |
13 class WebScriptExecutionCallback; | 14 class WebScriptExecutionCallback; |
14 struct WebPrintPresetOptions; | 15 struct WebPrintPresetOptions; |
15 | 16 |
16 // Interface for interacting with in process frames. This contains methods that | 17 // Interface for interacting with in process frames. This contains methods that |
17 // require interacting with a frame's document. | 18 // require interacting with a frame's document. |
18 // FIXME: Move lots of methods from WebFrame in here. | 19 // FIXME: Move lots of methods from WebFrame in here. |
19 class WebLocalFrame : public WebFrame { | 20 class WebLocalFrame : public WebFrame { |
20 public: | 21 public: |
21 // Creates a WebFrame. Delete this WebFrame by calling WebFrame::close(). | 22 // Creates a WebFrame. Delete this WebFrame by calling WebFrame::close(). |
22 // It is valid to pass a null client pointer. | 23 // It is valid to pass a null client pointer. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 106 |
106 // Moves the selection extent point. This function does not allow the | 107 // Moves the selection extent point. This function does not allow the |
107 // selection to collapse. If the new extent is set to the same position as | 108 // selection to collapse. If the new extent is set to the same position as |
108 // the current base, this function will do nothing. | 109 // the current base, this function will do nothing. |
109 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; | 110 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; |
110 }; | 111 }; |
111 | 112 |
112 } // namespace blink | 113 } // namespace blink |
113 | 114 |
114 #endif // WebLocalFrame_h | 115 #endif // WebLocalFrame_h |
OLD | NEW |