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

Side by Side Diff: extensions/browser/extension_host.h

Issue 691823002: Add WebContents source to methods in WebContentsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « extensions/browser/app_window/app_window.cc ('k') | extensions/browser/extension_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_HOST_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // content::WebContentsObserver 78 // content::WebContentsObserver
79 bool OnMessageReceived(const IPC::Message& message) override; 79 bool OnMessageReceived(const IPC::Message& message) override;
80 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 80 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
81 void RenderViewDeleted(content::RenderViewHost* render_view_host) override; 81 void RenderViewDeleted(content::RenderViewHost* render_view_host) override;
82 void RenderViewReady() override; 82 void RenderViewReady() override;
83 void RenderProcessGone(base::TerminationStatus status) override; 83 void RenderProcessGone(base::TerminationStatus status) override;
84 void DocumentAvailableInMainFrame() override; 84 void DocumentAvailableInMainFrame() override;
85 void DidStopLoading(content::RenderViewHost* render_view_host) override; 85 void DidStopLoading(content::RenderViewHost* render_view_host) override;
86 86
87 // content::WebContentsDelegate 87 // content::WebContentsDelegate
88 content::JavaScriptDialogManager* GetJavaScriptDialogManager() override; 88 content::JavaScriptDialogManager* GetJavaScriptDialogManager(
89 content::WebContents* source) override;
89 void AddNewContents(content::WebContents* source, 90 void AddNewContents(content::WebContents* source,
90 content::WebContents* new_contents, 91 content::WebContents* new_contents,
91 WindowOpenDisposition disposition, 92 WindowOpenDisposition disposition,
92 const gfx::Rect& initial_pos, 93 const gfx::Rect& initial_pos,
93 bool user_gesture, 94 bool user_gesture,
94 bool* was_blocked) override; 95 bool* was_blocked) override;
95 void CloseContents(content::WebContents* contents) override; 96 void CloseContents(content::WebContents* contents) override;
96 void RequestMediaAccessPermission( 97 void RequestMediaAccessPermission(
97 content::WebContents* web_contents, 98 content::WebContents* web_contents,
98 const content::MediaStreamRequest& request, 99 const content::MediaStreamRequest& request,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 177
177 // Used to measure how long it's been since the host was created. 178 // Used to measure how long it's been since the host was created.
178 base::ElapsedTimer since_created_; 179 base::ElapsedTimer since_created_;
179 180
180 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 181 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
181 }; 182 };
182 183
183 } // namespace extensions 184 } // namespace extensions
184 185
185 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 186 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window.cc ('k') | extensions/browser/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698