Chromium Code Reviews| 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 26 matching lines...) Expand all Loading... | |
| 37 struct WebFindOptions; | 37 struct WebFindOptions; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace net { | 40 namespace net { |
| 41 struct LoadStateWithParam; | 41 struct LoadStateWithParam; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace content { | 44 namespace content { |
| 45 | 45 |
| 46 class BrowserContext; | 46 class BrowserContext; |
| 47 class DevToolsAgentHost; | |
| 47 class InterstitialPage; | 48 class InterstitialPage; |
| 48 class PageState; | 49 class PageState; |
| 49 class RenderFrameHost; | 50 class RenderFrameHost; |
| 50 class RenderProcessHost; | 51 class RenderProcessHost; |
| 51 class RenderViewHost; | 52 class RenderViewHost; |
| 52 class RenderWidgetHostView; | 53 class RenderWidgetHostView; |
| 53 class SiteInstance; | 54 class SiteInstance; |
| 54 class WebContentsDelegate; | 55 class WebContentsDelegate; |
| 55 struct CustomContextMenuContext; | 56 struct CustomContextMenuContext; |
| 56 struct DropData; | 57 struct DropData; |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 586 // To draw two overlapping web contents view, the underlaying one should | 587 // To draw two overlapping web contents view, the underlaying one should |
| 587 // know about the overlaying one. Caller must ensure that |overlay| exists | 588 // know about the overlaying one. Caller must ensure that |overlay| exists |
| 588 // until |RemoveOverlayView| is called. | 589 // until |RemoveOverlayView| is called. |
| 589 virtual void SetOverlayView(WebContents* overlay, | 590 virtual void SetOverlayView(WebContents* overlay, |
| 590 const gfx::Point& offset) = 0; | 591 const gfx::Point& offset) = 0; |
| 591 | 592 |
| 592 // Removes the previously set overlay view. | 593 // Removes the previously set overlay view. |
| 593 virtual void RemoveOverlayView() = 0; | 594 virtual void RemoveOverlayView() = 0; |
| 594 #endif // OS_ANDROID | 595 #endif // OS_ANDROID |
| 595 | 596 |
| 597 virtual void InspectWorker(DevToolsAgentHost* agent_host) = 0; | |
|
pfeldman
2014/05/08 10:26:30
Please don't. I don't see how WebContents interfac
horo
2014/05/08 11:29:19
Could you please let me know how I can open DevToo
| |
| 598 | |
| 596 private: | 599 private: |
| 597 // This interface should only be implemented inside content. | 600 // This interface should only be implemented inside content. |
| 598 friend class WebContentsImpl; | 601 friend class WebContentsImpl; |
| 599 WebContents() {} | 602 WebContents() {} |
| 600 }; | 603 }; |
| 601 | 604 |
| 602 } // namespace content | 605 } // namespace content |
| 603 | 606 |
| 604 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 607 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |