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

Unified Diff: chrome/browser/ui/views/frame/native_browser_frame_factory_ozone.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/intent_picker_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/native_browser_frame_factory_ozone.cc
diff --git a/chrome/browser/ui/views/frame/native_browser_frame_factory_chromeos.cc b/chrome/browser/ui/views/frame/native_browser_frame_factory_ozone.cc
similarity index 74%
copy from chrome/browser/ui/views/frame/native_browser_frame_factory_chromeos.cc
copy to chrome/browser/ui/views/frame/native_browser_frame_factory_ozone.cc
index c3f8a723cb115582b2fa7a0d40ed87a088f77411..09124dc6ed95a9dad0c9b47569d4549f5987b7a6 100644
--- a/chrome/browser/ui/views/frame/native_browser_frame_factory_chromeos.cc
+++ b/chrome/browser/ui/views/frame/native_browser_frame_factory_ozone.cc
@@ -1,10 +1,9 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 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/native_browser_frame_factory.h"
-#include "chrome/browser/ui/views/frame/browser_frame_ash.h"
#include "chrome/browser/ui/views/frame/browser_frame_mus.h"
#include "services/service_manager/runner/common/client_util.h"
@@ -13,5 +12,7 @@ NativeBrowserFrame* NativeBrowserFrameFactory::Create(
BrowserView* browser_view) {
if (service_manager::ServiceManagerIsRemote())
return new BrowserFrameMus(browser_frame, browser_view);
- return new BrowserFrameAsh(browser_frame, browser_view);
+
+ NOTREACHED() << "For Ozone builds, only --mash launch is supported for now.";
+ return nullptr;
}
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/intent_picker_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698