| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 // the entire frame tree containing this tree looking for a frame that | 187 // the entire frame tree containing this tree looking for a frame that |
| 188 // matches the given name. If the optional relativeToFrame parameter | 188 // matches the given name. If the optional relativeToFrame parameter |
| 189 // is specified, then the search begins with the given frame and its | 189 // is specified, then the search begins with the given frame and its |
| 190 // children. | 190 // children. |
| 191 virtual WebFrame* findFrameByName( | 191 virtual WebFrame* findFrameByName( |
| 192 const WebString& name, WebFrame* relativeToFrame = 0) = 0; | 192 const WebString& name, WebFrame* relativeToFrame = 0) = 0; |
| 193 | 193 |
| 194 | 194 |
| 195 // Focus --------------------------------------------------------------- | 195 // Focus --------------------------------------------------------------- |
| 196 | 196 |
| 197 virtual WebFrame* focusedFrame() = 0; | 197 virtual WebLocalFrame* focusedFrame() = 0; |
| 198 virtual void setFocusedFrame(WebFrame*) = 0; | 198 virtual void setFocusedFrame(WebFrame*) = 0; |
| 199 | 199 |
| 200 // Sets the provided frame as focused and fires blur/focus events on any | 200 // Sets the provided frame as focused and fires blur/focus events on any |
| 201 // currently focused elements in old/new focused documents. Note that this | 201 // currently focused elements in old/new focused documents. Note that this |
| 202 // is different from setFocusedFrame, which does not fire events on focused | 202 // is different from setFocusedFrame, which does not fire events on focused |
| 203 // elements. | 203 // elements. |
| 204 virtual void focusDocumentView(WebFrame*) = 0; | 204 virtual void focusDocumentView(WebFrame*) = 0; |
| 205 | 205 |
| 206 // Focus the first (last if reverse is true) focusable node. | 206 // Focus the first (last if reverse is true) focusable node. |
| 207 virtual void setInitialFocus(bool reverse) = 0; | 207 virtual void setInitialFocus(bool reverse) = 0; |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 // completed. | 528 // completed. |
| 529 WebWidget* widget() { return this; } | 529 WebWidget* widget() { return this; } |
| 530 | 530 |
| 531 protected: | 531 protected: |
| 532 ~WebView() {} | 532 ~WebView() {} |
| 533 }; | 533 }; |
| 534 | 534 |
| 535 } // namespace blink | 535 } // namespace blink |
| 536 | 536 |
| 537 #endif | 537 #endif |
| OLD | NEW |