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

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

Issue 8760012: Move view_types.h to view_type.h, since that's the standard name for enums. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/extension_helper.h" 5 #include "chrome/renderer/extensions/extension_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_value_serializer.h" 10 #include "base/json/json_value_serializer.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/chrome_view_types.h" 15 #include "chrome/common/chrome_view_type.h"
16 #include "chrome/common/extensions/extension_messages.h" 16 #include "chrome/common/extensions/extension_messages.h"
17 #include "chrome/common/render_messages.h" 17 #include "chrome/common/render_messages.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "chrome/renderer/extensions/app_bindings.h" 19 #include "chrome/renderer/extensions/app_bindings.h"
20 #include "chrome/renderer/extensions/chrome_v8_context.h" 20 #include "chrome/renderer/extensions/chrome_v8_context.h"
21 #include "chrome/renderer/extensions/chrome_webstore_bindings.h" 21 #include "chrome/renderer/extensions/chrome_webstore_bindings.h"
22 #include "chrome/renderer/extensions/event_bindings.h" 22 #include "chrome/renderer/extensions/event_bindings.h"
23 #include "chrome/renderer/extensions/extension_dispatcher.h" 23 #include "chrome/renderer/extensions/extension_dispatcher.h"
24 #include "chrome/renderer/extensions/miscellaneous_bindings.h" 24 #include "chrome/renderer/extensions/miscellaneous_bindings.h"
25 #include "chrome/renderer/extensions/schema_generated_bindings.h" 25 #include "chrome/renderer/extensions/schema_generated_bindings.h"
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 routing_id(), *pending_app_info_)); 370 routing_id(), *pending_app_info_));
371 pending_app_info_.reset(NULL); 371 pending_app_info_.reset(NULL);
372 } 372 }
373 373
374 void ExtensionHelper::AddErrorToRootConsole(const string16& message) { 374 void ExtensionHelper::AddErrorToRootConsole(const string16& message) {
375 if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) { 375 if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) {
376 render_view()->GetWebView()->mainFrame()->addMessageToConsole( 376 render_view()->GetWebView()->mainFrame()->addMessageToConsole(
377 WebConsoleMessage(WebConsoleMessage::LevelError, message)); 377 WebConsoleMessage(WebConsoleMessage::LevelError, message));
378 } 378 }
379 } 379 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_helper.h ('k') | chrome/renderer/extensions/schema_generated_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698