| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // Stop any pending navigation. | 340 // Stop any pending navigation. |
| 341 virtual void Stop() = 0; | 341 virtual void Stop() = 0; |
| 342 | 342 |
| 343 // Creates a new WebContents with the same state as this one. The returned | 343 // Creates a new WebContents with the same state as this one. The returned |
| 344 // heap-allocated pointer is owned by the caller. | 344 // heap-allocated pointer is owned by the caller. |
| 345 virtual WebContents* Clone() = 0; | 345 virtual WebContents* Clone() = 0; |
| 346 | 346 |
| 347 // Reloads the focused frame. | 347 // Reloads the focused frame. |
| 348 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; | 348 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; |
| 349 | 349 |
| 350 // Resume navigation paused after receiving response headers. |
| 351 virtual void ResumeResponseDeferredAtStart() = 0; |
| 352 |
| 350 // Editing commands ---------------------------------------------------------- | 353 // Editing commands ---------------------------------------------------------- |
| 351 | 354 |
| 352 virtual void Undo() = 0; | 355 virtual void Undo() = 0; |
| 353 virtual void Redo() = 0; | 356 virtual void Redo() = 0; |
| 354 virtual void Cut() = 0; | 357 virtual void Cut() = 0; |
| 355 virtual void Copy() = 0; | 358 virtual void Copy() = 0; |
| 356 virtual void CopyToFindPboard() = 0; | 359 virtual void CopyToFindPboard() = 0; |
| 357 virtual void Paste() = 0; | 360 virtual void Paste() = 0; |
| 358 virtual void PasteAndMatchStyle() = 0; | 361 virtual void PasteAndMatchStyle() = 0; |
| 359 virtual void Delete() = 0; | 362 virtual void Delete() = 0; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 | 610 |
| 608 private: | 611 private: |
| 609 // This interface should only be implemented inside content. | 612 // This interface should only be implemented inside content. |
| 610 friend class WebContentsImpl; | 613 friend class WebContentsImpl; |
| 611 WebContents() {} | 614 WebContents() {} |
| 612 }; | 615 }; |
| 613 | 616 |
| 614 } // namespace content | 617 } // namespace content |
| 615 | 618 |
| 616 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 619 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |