1// Copyright 2013 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 "chrome/browser/ui/screen_capture_notification_ui.h" 6 7#include "base/logging.h" 8 9// Stub implementation of the ScreenCaptureNotificationUI interface. 10class ScreenCaptureNotificationUIStub : public ScreenCaptureNotificationUI { 11 public: 12 ScreenCaptureNotificationUIStub() {} 13 virtual ~ScreenCaptureNotificationUIStub() {} 14 15 virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) 16 OVERRIDE { 17 NOTIMPLEMENTED(); 18 return 0; 19 } 20}; 21 22// static 23scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( 24 const base::string16& title) { 25 return scoped_ptr<ScreenCaptureNotificationUI>( 26 new ScreenCaptureNotificationUIStub()); 27} 28