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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
598 // To draw two overlapping web contents view, the underlaying one should | 598 // To draw two overlapping web contents view, the underlaying one should |
599 // know about the overlaying one. Caller must ensure that |overlay| exists | 599 // know about the overlaying one. Caller must ensure that |overlay| exists |
600 // until |RemoveOverlayView| is called. | 600 // until |RemoveOverlayView| is called. |
601 virtual void SetOverlayView(WebContents* overlay, | 601 virtual void SetOverlayView(WebContents* overlay, |
602 const gfx::Point& offset) = 0; | 602 const gfx::Point& offset) = 0; |
603 | 603 |
604 // Removes the previously set overlay view. | 604 // Removes the previously set overlay view. |
605 virtual void RemoveOverlayView() = 0; | 605 virtual void RemoveOverlayView() = 0; |
606 #endif // OS_ANDROID | 606 #endif // OS_ANDROID |
607 | 607 |
608 virtual void ResumeResponseDeferredAtStart() = 0; | |
nasko
2014/05/28 22:59:00
This needs comment.
shatch
2014/05/29 21:41:22
Done.
| |
609 | |
608 private: | 610 private: |
609 // This interface should only be implemented inside content. | 611 // This interface should only be implemented inside content. |
610 friend class WebContentsImpl; | 612 friend class WebContentsImpl; |
611 WebContents() {} | 613 WebContents() {} |
612 }; | 614 }; |
613 | 615 |
614 } // namespace content | 616 } // namespace content |
615 | 617 |
616 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 618 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |