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

Side by Side Diff: extensions/shell/browser/shell_extensions_api_client.cc

Issue 1169223002: [Extensions] Clean up the handling of ExtensionHostMsg_Request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 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 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 #include "extensions/shell/browser/shell_extensions_api_client.h" 5 #include "extensions/shell/browser/shell_extensions_api_client.h"
6 6
7 #include "extensions/shell/browser/shell_app_view_guest_delegate.h" 7 #include "extensions/shell/browser/shell_app_view_guest_delegate.h"
8 #include "extensions/shell/browser/shell_extension_web_contents_observer.h"
8 9
9 namespace extensions { 10 namespace extensions {
10 11
11 ShellExtensionsAPIClient::ShellExtensionsAPIClient() { 12 ShellExtensionsAPIClient::ShellExtensionsAPIClient() {
12 } 13 }
13 14
15 void ShellExtensionsAPIClient::AttachWebContentsHelpers(
16 content::WebContents* web_contents) const {
17 ShellExtensionWebContentsObserver::CreateForWebContents(web_contents);
18 }
19
14 AppViewGuestDelegate* ShellExtensionsAPIClient::CreateAppViewGuestDelegate() 20 AppViewGuestDelegate* ShellExtensionsAPIClient::CreateAppViewGuestDelegate()
15 const { 21 const {
16 return new ShellAppViewGuestDelegate(); 22 return new ShellAppViewGuestDelegate();
17 } 23 }
18 24
19 } // namespace extensions 25 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_extensions_api_client.h ('k') | extensions/shell/browser/shell_extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698