| Index: chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc
|
| diff --git a/chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc b/chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5223640a57bb0c1b1f7307df83a1caab3ddb4a99
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
|
| +
|
| +#include "chrome/browser/ui/touch/frame/touch_browser_frame_view.h"
|
| +#include "chrome/browser/ui/views/frame/browser_view.h"
|
| +
|
| +namespace browser {
|
| +
|
| +BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
|
| + BrowserFrame* frame, BrowserView* browser_view) {
|
| + if (browser_view->IsBrowserTypePopup()) {
|
| + // TODO(anicolao): implement popups for touch
|
| + NOTIMPLEMENTED();
|
| + return NULL;
|
| + } else {
|
| + return new TouchBrowserFrameView(frame, browser_view);
|
| + }
|
| +}
|
| +
|
| +} // browser
|
|
|