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

Side by Side Diff: chrome/browser/extensions/extension_tabs_module.cc

Issue 10421003: Remove a bunch of trivial render_view_host_delegate.h includes in chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 7 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/browser/extensions/extension_tabs_module.h" 5 #include "chrome/browser/extensions/extension_tabs_module.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "chrome/common/extensions/extension_manifest_constants.h" 53 #include "chrome/common/extensions/extension_manifest_constants.h"
54 #include "chrome/common/extensions/extension_messages.h" 54 #include "chrome/common/extensions/extension_messages.h"
55 #include "chrome/common/extensions/user_script.h" 55 #include "chrome/common/extensions/user_script.h"
56 #include "chrome/common/pref_names.h" 56 #include "chrome/common/pref_names.h"
57 #include "chrome/common/url_constants.h" 57 #include "chrome/common/url_constants.h"
58 #include "content/public/browser/navigation_controller.h" 58 #include "content/public/browser/navigation_controller.h"
59 #include "content/public/browser/navigation_entry.h" 59 #include "content/public/browser/navigation_entry.h"
60 #include "content/public/browser/notification_details.h" 60 #include "content/public/browser/notification_details.h"
61 #include "content/public/browser/notification_source.h" 61 #include "content/public/browser/notification_source.h"
62 #include "content/public/browser/render_view_host.h" 62 #include "content/public/browser/render_view_host.h"
63 #include "content/public/browser/render_view_host_delegate.h"
64 #include "content/public/browser/render_widget_host_view.h" 63 #include "content/public/browser/render_widget_host_view.h"
65 #include "content/public/browser/web_contents.h" 64 #include "content/public/browser/web_contents.h"
66 #include "content/public/browser/web_contents_view.h" 65 #include "content/public/browser/web_contents_view.h"
67 #include "content/public/common/url_constants.h" 66 #include "content/public/common/url_constants.h"
68 #include "skia/ext/image_operations.h" 67 #include "skia/ext/image_operations.h"
69 #include "skia/ext/platform_canvas.h" 68 #include "skia/ext/platform_canvas.h"
70 #include "third_party/skia/include/core/SkBitmap.h" 69 #include "third_party/skia/include/core/SkBitmap.h"
71 #include "ui/base/ui_base_types.h" 70 #include "ui/base/ui_base_types.h"
72 #include "ui/gfx/codec/jpeg_codec.h" 71 #include "ui/gfx/codec/jpeg_codec.h"
73 #include "ui/gfx/codec/png_codec.h" 72 #include "ui/gfx/codec/png_codec.h"
(...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 // called for every API call the extension made. 1796 // called for every API call the extension made.
1798 GotLanguage(language); 1797 GotLanguage(language);
1799 } 1798 }
1800 1799
1801 void DetectTabLanguageFunction::GotLanguage(const std::string& language) { 1800 void DetectTabLanguageFunction::GotLanguage(const std::string& language) {
1802 result_.reset(Value::CreateStringValue(language.c_str())); 1801 result_.reset(Value::CreateStringValue(language.c_str()));
1803 SendResponse(true); 1802 SendResponse(true);
1804 1803
1805 Release(); // Balanced in Run() 1804 Release(); // Balanced in Run()
1806 } 1805 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_debugger_api.cc ('k') | chrome/browser/notifications/balloon_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698