blob: 7039622344e6dfbf7b911f83929ac0e6c705b07b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright 2013 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/screen_capture_notification_ui.h"
#include "base/logging.h"
// Stub implementation of the ScreenCaptureNotificationUI interface.
class ScreenCaptureNotificationUIStub : public ScreenCaptureNotificationUI {
public:
ScreenCaptureNotificationUIStub() {}
virtual ~ScreenCaptureNotificationUIStub() {}
virtual bool Show(const base::Closure& stop_callback,
const string16& title) OVERRIDE {
NOTIMPLEMENTED();
return true;
}
};
// static
scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create() {
return scoped_ptr<ScreenCaptureNotificationUI>(
new ScreenCaptureNotificationUIStub());
}
|