| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 // Stop any pending navigation. | 409 // Stop any pending navigation. |
| 410 virtual void Stop() = 0; | 410 virtual void Stop() = 0; |
| 411 | 411 |
| 412 // Creates a new WebContents with the same state as this one. The returned | 412 // Creates a new WebContents with the same state as this one. The returned |
| 413 // heap-allocated pointer is owned by the caller. | 413 // heap-allocated pointer is owned by the caller. |
| 414 virtual WebContents* Clone() = 0; | 414 virtual WebContents* Clone() = 0; |
| 415 | 415 |
| 416 // Reloads the focused frame. | 416 // Reloads the focused frame. |
| 417 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; | 417 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; |
| 418 | 418 |
| 419 // Reloads all the Lo-Fi images in this WebContents. Ignores the cache and |
| 420 // reloads from the network. |
| 421 virtual void ReloadLoFiImages() = 0; |
| 422 |
| 419 // Editing commands ---------------------------------------------------------- | 423 // Editing commands ---------------------------------------------------------- |
| 420 | 424 |
| 421 virtual void Undo() = 0; | 425 virtual void Undo() = 0; |
| 422 virtual void Redo() = 0; | 426 virtual void Redo() = 0; |
| 423 virtual void Cut() = 0; | 427 virtual void Cut() = 0; |
| 424 virtual void Copy() = 0; | 428 virtual void Copy() = 0; |
| 425 virtual void CopyToFindPboard() = 0; | 429 virtual void CopyToFindPboard() = 0; |
| 426 virtual void Paste() = 0; | 430 virtual void Paste() = 0; |
| 427 virtual void PasteAndMatchStyle() = 0; | 431 virtual void PasteAndMatchStyle() = 0; |
| 428 virtual void Delete() = 0; | 432 virtual void Delete() = 0; |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 | 714 |
| 711 private: | 715 private: |
| 712 // This interface should only be implemented inside content. | 716 // This interface should only be implemented inside content. |
| 713 friend class WebContentsImpl; | 717 friend class WebContentsImpl; |
| 714 WebContents() {} | 718 WebContents() {} |
| 715 }; | 719 }; |
| 716 | 720 |
| 717 } // namespace content | 721 } // namespace content |
| 718 | 722 |
| 719 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 723 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |