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

Side by Side Diff: content/browser/tab_contents/tab_contents.cc

Issue 8276022: Move url_constants.h to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 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 "content/browser/tab_contents/tab_contents.h" 5 #include "content/browser/tab_contents/tab_contents.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 27 matching lines...) Expand all
38 #include "content/browser/tab_contents/tab_contents_view.h" 38 #include "content/browser/tab_contents/tab_contents_view.h"
39 #include "content/browser/tab_contents/title_updated_details.h" 39 #include "content/browser/tab_contents/title_updated_details.h"
40 #include "content/browser/user_metrics.h" 40 #include "content/browser/user_metrics.h"
41 #include "content/browser/webui/web_ui_factory.h" 41 #include "content/browser/webui/web_ui_factory.h"
42 #include "content/common/content_client.h" 42 #include "content/common/content_client.h"
43 #include "content/common/content_constants.h" 43 #include "content/common/content_constants.h"
44 #include "content/common/content_restriction.h" 44 #include "content/common/content_restriction.h"
45 #include "content/common/intents_messages.h" 45 #include "content/common/intents_messages.h"
46 #include "content/common/navigation_types.h" 46 #include "content/common/navigation_types.h"
47 #include "content/common/notification_service.h" 47 #include "content/common/notification_service.h"
48 #include "content/common/url_constants.h"
49 #include "content/common/view_messages.h" 48 #include "content/common/view_messages.h"
50 #include "content/public/common/bindings_policy.h" 49 #include "content/public/common/bindings_policy.h"
50 #include "content/public/common/url_constants.h"
51 #include "content/public/common/view_types.h" 51 #include "content/public/common/view_types.h"
52 #include "net/base/net_util.h" 52 #include "net/base/net_util.h"
53 #include "net/url_request/url_request_context_getter.h" 53 #include "net/url_request/url_request_context_getter.h"
54 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 54 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
55 #include "ui/gfx/codec/png_codec.h" 55 #include "ui/gfx/codec/png_codec.h"
56 #include "webkit/glue/password_form.h" 56 #include "webkit/glue/password_form.h"
57 #include "webkit/glue/web_intent_data.h" 57 #include "webkit/glue/web_intent_data.h"
58 #include "webkit/glue/webpreferences.h" 58 #include "webkit/glue/webpreferences.h"
59 59
60 #if defined(OS_MACOSX) 60 #if defined(OS_MACOSX)
(...skipping 1910 matching lines...) Expand 10 before | Expand all | Expand 10 after
1971 1971
1972 void TabContents::set_encoding(const std::string& encoding) { 1972 void TabContents::set_encoding(const std::string& encoding) {
1973 encoding_ = content::GetContentClient()->browser()-> 1973 encoding_ = content::GetContentClient()->browser()->
1974 GetCanonicalEncodingNameByAliasName(encoding); 1974 GetCanonicalEncodingNameByAliasName(encoding);
1975 } 1975 }
1976 1976
1977 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { 1977 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) {
1978 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh); 1978 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh);
1979 rwh_view->SetSize(view()->GetContainerSize()); 1979 rwh_view->SetSize(view()->GetContainerSize());
1980 } 1980 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager.cc ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698