- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / screen_capture_notification_ui_stub.cc
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.
10 class ScreenCaptureNotificationUIStub : public ScreenCaptureNotificationUI {
11  public:
12   ScreenCaptureNotificationUIStub() {}
13   virtual ~ScreenCaptureNotificationUIStub() {}
14
15   virtual void OnStarted(const base::Closure& stop_callback) OVERRIDE {
16     NOTIMPLEMENTED();
17   }
18 };
19
20 // static
21 scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create(
22     const string16& title) {
23   return scoped_ptr<ScreenCaptureNotificationUI>(
24       new ScreenCaptureNotificationUIStub());
25 }