| 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 // Commands ------------------------------------------------------------------ | 411 // Commands ------------------------------------------------------------------ |
| 412 | 412 |
| 413 // Stop any pending navigation. | 413 // Stop any pending navigation. |
| 414 virtual void Stop() = 0; | 414 virtual void Stop() = 0; |
| 415 | 415 |
| 416 // Creates a new WebContents with the same state as this one. The returned | 416 // Creates a new WebContents with the same state as this one. The returned |
| 417 // heap-allocated pointer is owned by the caller. | 417 // heap-allocated pointer is owned by the caller. |
| 418 virtual WebContents* Clone() = 0; | 418 virtual WebContents* Clone() = 0; |
| 419 | 419 |
| 420 // Reloads the focused frame. | 420 // Reloads the focused frame. |
| 421 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; | 421 virtual void ReloadFocusedFrame(bool bypass_cache) = 0; |
| 422 | 422 |
| 423 // Reloads all the Lo-Fi images in this WebContents. Ignores the cache and | 423 // Reloads all the Lo-Fi images in this WebContents. Ignores the cache and |
| 424 // reloads from the network. | 424 // reloads from the network. |
| 425 virtual void ReloadLoFiImages() = 0; | 425 virtual void ReloadLoFiImages() = 0; |
| 426 | 426 |
| 427 // Editing commands ---------------------------------------------------------- | 427 // Editing commands ---------------------------------------------------------- |
| 428 | 428 |
| 429 virtual void Undo() = 0; | 429 virtual void Undo() = 0; |
| 430 virtual void Redo() = 0; | 430 virtual void Redo() = 0; |
| 431 virtual void Cut() = 0; | 431 virtual void Cut() = 0; |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 | 718 |
| 719 private: | 719 private: |
| 720 // This interface should only be implemented inside content. | 720 // This interface should only be implemented inside content. |
| 721 friend class WebContentsImpl; | 721 friend class WebContentsImpl; |
| 722 WebContents() {} | 722 WebContents() {} |
| 723 }; | 723 }; |
| 724 | 724 |
| 725 } // namespace content | 725 } // namespace content |
| 726 | 726 |
| 727 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 727 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |