This source file includes following definitions.
- ToolkitInitialized
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h"
#include "chrome/browser/chrome_browser_main.h"
#include "chrome/browser/ui/views/chrome_views_delegate.h"
#include "chrome/common/chrome_switches.h"
#include "ui/base/ui_base_switches.h"
#if defined(USE_AURA)
#include "ui/wm/core/wm_state.h"
#endif
ChromeBrowserMainExtraPartsViews::ChromeBrowserMainExtraPartsViews() {
}
ChromeBrowserMainExtraPartsViews::~ChromeBrowserMainExtraPartsViews() {
}
void ChromeBrowserMainExtraPartsViews::ToolkitInitialized() {
if (!views::ViewsDelegate::views_delegate)
views::ViewsDelegate::views_delegate = new ChromeViewsDelegate;
#if defined(USE_AURA)
wm_state_.reset(new wm::WMState);
#endif
}