12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved. 22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// found in the LICENSE file. 42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include "chrome/browser/ui/screen_capture_notification_ui.h" 62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include "base/logging.h" 82a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 92a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Stub implementation of the ScreenCaptureNotificationUI interface. 102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)class ScreenCaptureNotificationUIStub : public ScreenCaptureNotificationUI { 112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) public: 122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) ScreenCaptureNotificationUIStub() {} 132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) virtual ~ScreenCaptureNotificationUIStub() {} 142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 15effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) 16effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch OVERRIDE { 172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) NOTIMPLEMENTED(); 18effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch return 0; 192a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) } 202a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)}; 212a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 222a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// static 233240926e260ce088908e02ac07a6cf7b0c0cbf44Ben Murdochscoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( 24a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) const base::string16& title) { 252a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) return scoped_ptr<ScreenCaptureNotificationUI>( 262a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) new ScreenCaptureNotificationUIStub()); 272a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)} 28