Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: content/public/browser/web_contents.h

Issue 251653003: Introduces DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add InspectWorker() to WebContents, WebContentsImpl, WebContentsDelegate and Browser. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698