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 // Called to advance the focus to next form control element in | |
Avi (use Gerrit)
2015/04/17 16:46:27
Blank line before this one.
AKV
2015/04/17 16:50:03
Done.
| |
395 // forward/backward direction from current element. | |
396 virtual void AdvanceFocusToNextFormControl(bool forward) = 0; | |
394 | 397 |
395 // Replaces the currently selected word or a word around the cursor. | 398 // Replaces the currently selected word or a word around the cursor. |
396 virtual void Replace(const base::string16& word) = 0; | 399 virtual void Replace(const base::string16& word) = 0; |
397 | 400 |
398 // Replaces the misspelling in the current selection. | 401 // Replaces the misspelling in the current selection. |
399 virtual void ReplaceMisspelling(const base::string16& word) = 0; | 402 virtual void ReplaceMisspelling(const base::string16& word) = 0; |
400 | 403 |
401 // Let the renderer know that the menu has been closed. | 404 // Let the renderer know that the menu has been closed. |
402 virtual void NotifyContextMenuClosed( | 405 virtual void NotifyContextMenuClosed( |
403 const CustomContextMenuContext& context) = 0; | 406 const CustomContextMenuContext& context) = 0; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
643 | 646 |
644 private: | 647 private: |
645 // This interface should only be implemented inside content. | 648 // This interface should only be implemented inside content. |
646 friend class WebContentsImpl; | 649 friend class WebContentsImpl; |
647 WebContents() {} | 650 WebContents() {} |
648 }; | 651 }; |
649 | 652 |
650 } // namespace content | 653 } // namespace content |
651 | 654 |
652 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 655 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |