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

Side by Side Diff: apps/app_window_contents.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « apps/app_window.cc ('k') | apps/launcher.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "apps/app_window_contents.h" 5 #include "apps/app_window_contents.h"
6 6
7 #include "apps/ui/native_app_window.h" 7 #include "apps/ui/native_app_window.h"
8 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/common/extensions/api/app_window.h" 9 #include "chrome/common/extensions/api/app_window.h"
10 #include "chrome/common/extensions/extension_messages.h"
11 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
12 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/notification_details.h" 12 #include "content/public/browser/notification_details.h"
14 #include "content/public/browser/notification_source.h" 13 #include "content/public/browser/notification_source.h"
15 #include "content/public/browser/render_process_host.h" 14 #include "content/public/browser/render_process_host.h"
16 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
17 #include "content/public/browser/resource_dispatcher_host.h" 16 #include "content/public/browser/resource_dispatcher_host.h"
18 #include "content/public/browser/site_instance.h" 17 #include "content/public/browser/site_instance.h"
19 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
20 #include "content/public/common/renderer_preferences.h" 19 #include "content/public/common/renderer_preferences.h"
20 #include "extensions/common/extension_messages.h"
21 21
22 namespace app_window = extensions::api::app_window; 22 namespace app_window = extensions::api::app_window;
23 23
24 namespace apps { 24 namespace apps {
25 25
26 AppWindowContentsImpl::AppWindowContentsImpl(AppWindow* host) : host_(host) {} 26 AppWindowContentsImpl::AppWindowContentsImpl(AppWindow* host) : host_(host) {}
27 27
28 AppWindowContentsImpl::~AppWindowContentsImpl() {} 28 AppWindowContentsImpl::~AppWindowContentsImpl() {}
29 29
30 void AppWindowContentsImpl::Initialize(content::BrowserContext* context, 30 void AppWindowContentsImpl::Initialize(content::BrowserContext* context,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 content::RenderViewHost* rvh) { 155 content::RenderViewHost* rvh) {
156 DCHECK(rvh); 156 DCHECK(rvh);
157 content::BrowserThread::PostTask( 157 content::BrowserThread::PostTask(
158 content::BrowserThread::IO, FROM_HERE, 158 content::BrowserThread::IO, FROM_HERE,
159 base::Bind(&content::ResourceDispatcherHost::BlockRequestsForRoute, 159 base::Bind(&content::ResourceDispatcherHost::BlockRequestsForRoute,
160 base::Unretained(content::ResourceDispatcherHost::Get()), 160 base::Unretained(content::ResourceDispatcherHost::Get()),
161 rvh->GetProcess()->GetID(), rvh->GetRoutingID())); 161 rvh->GetProcess()->GetID(), rvh->GetRoutingID()));
162 } 162 }
163 163
164 } // namespace apps 164 } // namespace apps
OLDNEW
« no previous file with comments | « apps/app_window.cc ('k') | apps/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698