OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/views/tabs/native_view_photobooth_gtk.h" | 5 #include "chrome/browser/views/tabs/native_view_photobooth_gtk.h" |
6 | 6 |
7 #include "app/gfx/canvas.h" | |
8 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "gfx/canvas.h" |
9 | 9 |
10 /////////////////////////////////////////////////////////////////////////////// | 10 /////////////////////////////////////////////////////////////////////////////// |
11 // NativeViewPhotoboothGtk, public: | 11 // NativeViewPhotoboothGtk, public: |
12 | 12 |
13 // static | 13 // static |
14 NativeViewPhotobooth* NativeViewPhotobooth::Create( | 14 NativeViewPhotobooth* NativeViewPhotobooth::Create( |
15 gfx::NativeView initial_view) { | 15 gfx::NativeView initial_view) { |
16 return new NativeViewPhotoboothGtk(initial_view); | 16 return new NativeViewPhotoboothGtk(initial_view); |
17 } | 17 } |
18 | 18 |
19 NativeViewPhotoboothGtk::NativeViewPhotoboothGtk( | 19 NativeViewPhotoboothGtk::NativeViewPhotoboothGtk( |
20 gfx::NativeView initial_view) { | 20 gfx::NativeView initial_view) { |
21 } | 21 } |
22 | 22 |
23 NativeViewPhotoboothGtk::~NativeViewPhotoboothGtk() { | 23 NativeViewPhotoboothGtk::~NativeViewPhotoboothGtk() { |
24 } | 24 } |
25 | 25 |
26 void NativeViewPhotoboothGtk::Replace(gfx::NativeView new_view) { | 26 void NativeViewPhotoboothGtk::Replace(gfx::NativeView new_view) { |
27 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
28 } | 28 } |
29 | 29 |
30 void NativeViewPhotoboothGtk::PaintScreenshotIntoCanvas( | 30 void NativeViewPhotoboothGtk::PaintScreenshotIntoCanvas( |
31 gfx::Canvas* canvas, | 31 gfx::Canvas* canvas, |
32 const gfx::Rect& target_bounds) { | 32 const gfx::Rect& target_bounds) { |
33 NOTIMPLEMENTED(); | 33 NOTIMPLEMENTED(); |
34 } | 34 } |
OLD | NEW |