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

Side by Side Diff: ash/shell/content_client/shell_content_browser_client.cc

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sorted headers in modified files Created 8 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 "ash/shell/content_client/shell_content_browser_client.h" 5 #include "ash/shell/content_client/shell_content_browser_client.h"
6 6
7 #include "ash/shell/content_client/shell_browser_main_parts.h" 7 #include "ash/shell/content_client/shell_browser_main_parts.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "content/public/browser/resource_dispatcher_host.h" 10 #include "content/public/browser/resource_dispatcher_host.h"
11 #include "content/shell/shell.h" 11 #include "content/shell/shell.h"
12 #include "content/shell/shell_devtools_delegate.h" 12 #include "content/shell/shell_devtools_delegate.h"
13 #include "content/shell/shell_render_view_host_observer.h" 13 #include "content/shell/shell_render_view_host_observer.h"
14 #include "content/shell/shell_resource_dispatcher_host_delegate.h" 14 #include "content/shell/shell_resource_dispatcher_host_delegate.h"
15 #include "content/shell/shell_switches.h" 15 #include "content/shell/shell_switches.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "ui/gfx/image/image_skia.h"
18 18
19 namespace ash { 19 namespace ash {
20 namespace shell { 20 namespace shell {
21 21
22 ShellContentBrowserClient::ShellContentBrowserClient() 22 ShellContentBrowserClient::ShellContentBrowserClient()
23 : shell_browser_main_parts_(NULL) { 23 : shell_browser_main_parts_(NULL) {
24 } 24 }
25 25
26 ShellContentBrowserClient::~ShellContentBrowserClient() { 26 ShellContentBrowserClient::~ShellContentBrowserClient() {
27 } 27 }
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 std::string ShellContentBrowserClient::GetApplicationLocale() { 118 std::string ShellContentBrowserClient::GetApplicationLocale() {
119 return std::string(); 119 return std::string();
120 } 120 }
121 121
122 std::string ShellContentBrowserClient::GetAcceptLangs( 122 std::string ShellContentBrowserClient::GetAcceptLangs(
123 content::BrowserContext* context) { 123 content::BrowserContext* context) {
124 return std::string(); 124 return std::string();
125 } 125 }
126 126
127 SkBitmap* ShellContentBrowserClient::GetDefaultFavicon() { 127 gfx::ImageSkia* ShellContentBrowserClient::GetDefaultFavicon() {
128 static SkBitmap empty; 128 static gfx::ImageSkia empty;
sky 2012/05/29 17:18:26 This should be a static gfx::ImageSkia*
129 return ∅ 129 return ∅
130 } 130 }
131 131
132 bool ShellContentBrowserClient::AllowAppCache( 132 bool ShellContentBrowserClient::AllowAppCache(
133 const GURL& manifest_url, 133 const GURL& manifest_url,
134 const GURL& first_party, 134 const GURL& first_party,
135 content::ResourceContext* context) { 135 content::ResourceContext* context) {
136 return true; 136 return true;
137 } 137 }
138 138
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 return NULL; 372 return NULL;
373 } 373 }
374 #endif 374 #endif
375 375
376 content::ShellBrowserContext* ShellContentBrowserClient::browser_context() { 376 content::ShellBrowserContext* ShellContentBrowserClient::browser_context() {
377 return shell_browser_main_parts_->browser_context(); 377 return shell_browser_main_parts_->browser_context();
378 } 378 }
379 379
380 } // namespace examples 380 } // namespace examples
381 } // namespace views 381 } // namespace views
OLDNEW
« no previous file with comments | « ash/shell/content_client/shell_content_browser_client.h ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698