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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 #if defined(OS_ANDROID) 314 #if defined(OS_ANDROID)
315 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() 315 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents()
316 OVERRIDE; 316 OVERRIDE;
317 #elif defined(OS_MACOSX) 317 #elif defined(OS_MACOSX)
318 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; 318 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE;
319 virtual bool GetAllowOverlappingViews() OVERRIDE; 319 virtual bool GetAllowOverlappingViews() OVERRIDE;
320 virtual void SetOverlayView(WebContents* overlay, 320 virtual void SetOverlayView(WebContents* overlay,
321 const gfx::Point& offset) OVERRIDE; 321 const gfx::Point& offset) OVERRIDE;
322 virtual void RemoveOverlayView() OVERRIDE; 322 virtual void RemoveOverlayView() OVERRIDE;
323 #endif 323 #endif
324 virtual void InspectWorker(DevToolsAgentHost* agent_host) OVERRIDE;
324 325
325 // Implementation of PageNavigator. 326 // Implementation of PageNavigator.
326 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; 327 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE;
327 328
328 // Implementation of IPC::Sender. 329 // Implementation of IPC::Sender.
329 virtual bool Send(IPC::Message* message) OVERRIDE; 330 virtual bool Send(IPC::Message* message) OVERRIDE;
330 331
331 // RenderFrameHostDelegate --------------------------------------------------- 332 // RenderFrameHostDelegate ---------------------------------------------------
332 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, 333 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host,
333 const IPC::Message& message) OVERRIDE; 334 const IPC::Message& message) OVERRIDE;
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 1109
1109 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1110 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1110 bool last_dialog_suppressed_; 1111 bool last_dialog_suppressed_;
1111 1112
1112 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1113 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1113 }; 1114 };
1114 1115
1115 } // namespace content 1116 } // namespace content
1116 1117
1117 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1118 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698