shell_content_browser_client.cc revision 5821806d5e7f356e8fa4b058a389a808ea183019
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 3// found in the LICENSE file. 4 5#include "ash/shell/content_client/shell_content_browser_client.h" 6 7#include "ash/shell/content_client/shell_browser_main_parts.h" 8#include "third_party/skia/include/core/SkBitmap.h" 9 10namespace ash { 11namespace shell { 12 13ShellContentBrowserClient::ShellContentBrowserClient() 14 : shell_browser_main_parts_(NULL) { 15} 16 17ShellContentBrowserClient::~ShellContentBrowserClient() { 18} 19 20content::BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts( 21 const content::MainFunctionParams& parameters) { 22 shell_browser_main_parts_ = new ShellBrowserMainParts(parameters); 23 return shell_browser_main_parts_; 24} 25 26content::ShellBrowserContext* ShellContentBrowserClient::browser_context() { 27 return shell_browser_main_parts_->browser_context(); 28} 29 30} // namespace examples 31} // namespace views 32