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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // for whether window.close() may be called. | 117 // for whether window.close() may be called. |
118 virtual void setOpenedByDOM() = 0; | 118 virtual void setOpenedByDOM() = 0; |
119 | 119 |
120 | 120 |
121 // Frames -------------------------------------------------------------- | 121 // Frames -------------------------------------------------------------- |
122 | 122 |
123 virtual WebFrame* mainFrame() = 0; | 123 virtual WebFrame* mainFrame() = 0; |
124 | 124 |
125 virtual void injectModule(const WebString& path) = 0; | 125 virtual void injectModule(const WebString& path) = 0; |
126 | 126 |
| 127 virtual void connectInspectorBackend() = 0; |
127 | 128 |
128 // Focus --------------------------------------------------------------- | 129 // Focus --------------------------------------------------------------- |
129 | 130 |
130 virtual WebFrame* focusedFrame() = 0; | 131 virtual WebFrame* focusedFrame() = 0; |
131 virtual void setFocusedFrame(WebFrame*) = 0; | 132 virtual void setFocusedFrame(WebFrame*) = 0; |
132 | 133 |
133 // Focus the first (last if reverse is true) focusable node. | 134 // Focus the first (last if reverse is true) focusable node. |
134 virtual void setInitialFocus(bool reverse) = 0; | 135 virtual void setInitialFocus(bool reverse) = 0; |
135 | 136 |
136 // Clears the focused element (and selection if a text field is focused) | 137 // Clears the focused element (and selection if a text field is focused) |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 250 |
250 // Testing functionality for TestRunner --------------------------------- | 251 // Testing functionality for TestRunner --------------------------------- |
251 | 252 |
252 protected: | 253 protected: |
253 ~WebView() {} | 254 ~WebView() {} |
254 }; | 255 }; |
255 | 256 |
256 } // namespace blink | 257 } // namespace blink |
257 | 258 |
258 #endif | 259 #endif |
OLD | NEW |