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

Side by Side Diff: chrome/renderer/render_view.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "app/l10n_util.h"
12 #include "app/message_box_flags.h" 11 #include "app/message_box_flags.h"
13 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
14 #include "base/callback.h" 13 #include "base/callback.h"
15 #include "base/command_line.h" 14 #include "base/command_line.h"
16 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
17 #include "base/field_trial.h" 16 #include "base/field_trial.h"
18 #include "base/histogram.h" 17 #include "base/histogram.h"
19 #include "base/path_service.h" 18 #include "base/path_service.h"
20 #include "base/process_util.h" 19 #include "base/process_util.h"
21 #include "base/singleton.h" 20 #include "base/singleton.h"
(...skipping 5192 matching lines...) Expand 10 before | Expand all | Expand 10 after
5214 // the origins of the two domains are different. This can be treated as a 5213 // the origins of the two domains are different. This can be treated as a
5215 // top level navigation and routed back to the host. 5214 // top level navigation and routed back to the host.
5216 WebKit::WebFrame* opener = frame->opener(); 5215 WebKit::WebFrame* opener = frame->opener();
5217 if (opener) { 5216 if (opener) {
5218 if (url.GetOrigin() != GURL(opener->url()).GetOrigin()) 5217 if (url.GetOrigin() != GURL(opener->url()).GetOrigin())
5219 return true; 5218 return true;
5220 } 5219 }
5221 } 5220 }
5222 return false; 5221 return false;
5223 } 5222 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/renderer_extension_bindings.cc ('k') | chrome/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698