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_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 virtual void Undo() = 0; | 384 virtual void Undo() = 0; |
385 virtual void Redo() = 0; | 385 virtual void Redo() = 0; |
386 virtual void Cut() = 0; | 386 virtual void Cut() = 0; |
387 virtual void Copy() = 0; | 387 virtual void Copy() = 0; |
388 virtual void CopyToFindPboard() = 0; | 388 virtual void CopyToFindPboard() = 0; |
389 virtual void Paste() = 0; | 389 virtual void Paste() = 0; |
390 virtual void PasteAndMatchStyle() = 0; | 390 virtual void PasteAndMatchStyle() = 0; |
391 virtual void Delete() = 0; | 391 virtual void Delete() = 0; |
392 virtual void SelectAll() = 0; | 392 virtual void SelectAll() = 0; |
393 virtual void Unselect() = 0; | 393 virtual void Unselect() = 0; |
| 394 virtual void AdvanceFocusToNextInputField(bool direction) = 0; |
394 | 395 |
395 // Replaces the currently selected word or a word around the cursor. | 396 // Replaces the currently selected word or a word around the cursor. |
396 virtual void Replace(const base::string16& word) = 0; | 397 virtual void Replace(const base::string16& word) = 0; |
397 | 398 |
398 // Replaces the misspelling in the current selection. | 399 // Replaces the misspelling in the current selection. |
399 virtual void ReplaceMisspelling(const base::string16& word) = 0; | 400 virtual void ReplaceMisspelling(const base::string16& word) = 0; |
400 | 401 |
401 // Let the renderer know that the menu has been closed. | 402 // Let the renderer know that the menu has been closed. |
402 virtual void NotifyContextMenuClosed( | 403 virtual void NotifyContextMenuClosed( |
403 const CustomContextMenuContext& context) = 0; | 404 const CustomContextMenuContext& context) = 0; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 | 644 |
644 private: | 645 private: |
645 // This interface should only be implemented inside content. | 646 // This interface should only be implemented inside content. |
646 friend class WebContentsImpl; | 647 friend class WebContentsImpl; |
647 WebContents() {} | 648 WebContents() {} |
648 }; | 649 }; |
649 | 650 |
650 } // namespace content | 651 } // namespace content |
651 | 652 |
652 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 653 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |