| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBFRAME_H_ | 5 #ifndef WEBKIT_GLUE_WEBFRAME_H_ |
| 6 #define WEBKIT_GLUE_WEBFRAME_H_ | 6 #define WEBKIT_GLUE_WEBFRAME_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // - (void)cut:(id)sender; | 255 // - (void)cut:(id)sender; |
| 256 virtual void Cut() = 0; | 256 virtual void Cut() = 0; |
| 257 | 257 |
| 258 // | 258 // |
| 259 // - (void)paste:(id)sender; | 259 // - (void)paste:(id)sender; |
| 260 virtual void Paste() = 0; | 260 virtual void Paste() = 0; |
| 261 | 261 |
| 262 // Replace the selection text by a given text. | 262 // Replace the selection text by a given text. |
| 263 virtual void Replace(const std::wstring& text) = 0; | 263 virtual void Replace(const std::wstring& text) = 0; |
| 264 | 264 |
| 265 // Toggle spell check on and off. |
| 266 virtual void ToggleSpellCheck() = 0; |
| 267 |
| 268 // Return whether spell check is enabled or not in this frame. |
| 269 virtual bool SpellCheckEnabled() = 0; |
| 270 |
| 265 // | 271 // |
| 266 // - (void)delete:(id)sender; | 272 // - (void)delete:(id)sender; |
| 267 // Delete as in similar to Cut, not as in teardown | 273 // Delete as in similar to Cut, not as in teardown |
| 268 virtual void Delete() = 0; | 274 virtual void Delete() = 0; |
| 269 | 275 |
| 270 // Undo the last text editing command. | 276 // Undo the last text editing command. |
| 271 virtual void Undo() = 0; | 277 virtual void Undo() = 0; |
| 272 | 278 |
| 273 // Redo the last undone text editing command. | 279 // Redo the last undone text editing command. |
| 274 virtual void Redo() = 0; | 280 virtual void Redo() = 0; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 virtual bool IsReloadAllowingStaleData() const = 0; | 366 virtual bool IsReloadAllowingStaleData() const = 0; |
| 361 | 367 |
| 362 // Only for test_shell | 368 // Only for test_shell |
| 363 virtual int PendingFrameUnloadEventCount() const = 0; | 369 virtual int PendingFrameUnloadEventCount() const = 0; |
| 364 | 370 |
| 365 private: | 371 private: |
| 366 DISALLOW_COPY_AND_ASSIGN(WebFrame); | 372 DISALLOW_COPY_AND_ASSIGN(WebFrame); |
| 367 }; | 373 }; |
| 368 | 374 |
| 369 #endif // WEBKIT_GLUE_WEBFRAME_H_ | 375 #endif // WEBKIT_GLUE_WEBFRAME_H_ |
| OLD | NEW |