1// Copyright (c) 2011 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#ifndef CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_
6#define CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_
7#pragma once
8
9#include "base/compiler_specific.h"
10#include "chrome/browser/ui/views/tabs/native_view_photobooth.h"
11
12class NativeViewPhotoboothGtk : public NativeViewPhotobooth {
13 public:
14  explicit NativeViewPhotoboothGtk(gfx::NativeView new_view);
15
16  // Destroys the photo booth window.
17  virtual ~NativeViewPhotoboothGtk();
18
19  // Replaces the view in the photo booth with the specified one.
20  virtual void Replace(gfx::NativeView new_view) OVERRIDE;
21
22  // Paints the current display image of the window into |canvas|, clipped to
23  // |target_bounds|.
24  virtual void PaintScreenshotIntoCanvas(
25      gfx::Canvas* canvas,
26      const gfx::Rect& target_bounds) OVERRIDE;
27
28 private:
29  DISALLOW_COPY_AND_ASSIGN(NativeViewPhotoboothGtk);
30};
31
32#endif  // CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_
33