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

Side by Side Diff: chrome/renderer/extensions/dispatcher.cc

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
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 #include "chrome/renderer/extensions/dispatcher.h" 5 #include "chrome/renderer/extensions/dispatcher.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/alias.h" 9 #include "base/debug/alias.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "chrome/renderer/extensions/user_script_slave.h" 63 #include "chrome/renderer/extensions/user_script_slave.h"
64 #include "chrome/renderer/extensions/web_request_custom_bindings.h" 64 #include "chrome/renderer/extensions/web_request_custom_bindings.h"
65 #include "chrome/renderer/extensions/webstore_bindings.h" 65 #include "chrome/renderer/extensions/webstore_bindings.h"
66 #include "chrome/renderer/resource_bundle_source_map.h" 66 #include "chrome/renderer/resource_bundle_source_map.h"
67 #include "content/public/renderer/render_thread.h" 67 #include "content/public/renderer/render_thread.h"
68 #include "content/public/renderer/render_view.h" 68 #include "content/public/renderer/render_view.h"
69 #include "content/public/renderer/v8_value_converter.h" 69 #include "content/public/renderer/v8_value_converter.h"
70 #include "extensions/common/view_type.h" 70 #include "extensions/common/view_type.h"
71 #include "grit/common_resources.h" 71 #include "grit/common_resources.h"
72 #include "grit/renderer_resources.h" 72 #include "grit/renderer_resources.h"
73 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 73 #include "third_party/WebKit/public/platform/WebString.h"
74 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 74 #include "third_party/WebKit/public/platform/WebURLRequest.h"
75 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" 75 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h"
76 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 76 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
77 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 77 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
78 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScopedUserGesture. h" 78 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScopedUserGesture. h"
79 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" 79 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h"
80 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 80 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
81 #include "ui/base/layout.h" 81 #include "ui/base/layout.h"
82 #include "ui/base/resource/resource_bundle.h" 82 #include "ui/base/resource/resource_bundle.h"
83 #include "v8/include/v8.h" 83 #include "v8/include/v8.h"
84 84
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 std::string error_msg = base::StringPrintf(kMessage, function_name.c_str()); 1458 std::string error_msg = base::StringPrintf(kMessage, function_name.c_str());
1459 v8::ThrowException( 1459 v8::ThrowException(
1460 v8::Exception::Error(v8::String::New(error_msg.c_str()))); 1460 v8::Exception::Error(v8::String::New(error_msg.c_str())));
1461 return false; 1461 return false;
1462 } 1462 }
1463 1463
1464 return true; 1464 return true;
1465 } 1465 }
1466 1466
1467 } // namespace extensions 1467 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_context_set.cc ('k') | chrome/renderer/extensions/dom_activity_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698