Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: chrome/browser/ui/views/tabs/native_view_photobooth_gtk.h

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retrying upload after AppEngine error Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_
6 #define 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 7 #pragma once
8 8
9 #include "chrome/browser/views/tabs/native_view_photobooth.h" 9 #include "chrome/browser/ui/views/tabs/native_view_photobooth.h"
10 10
11 class NativeViewPhotoboothGtk : public NativeViewPhotobooth { 11 class NativeViewPhotoboothGtk : public NativeViewPhotobooth {
12 public: 12 public:
13 explicit NativeViewPhotoboothGtk(gfx::NativeView new_view); 13 explicit NativeViewPhotoboothGtk(gfx::NativeView new_view);
14 14
15 // Destroys the photo booth window. 15 // Destroys the photo booth window.
16 virtual ~NativeViewPhotoboothGtk(); 16 virtual ~NativeViewPhotoboothGtk();
17 17
18 // Replaces the view in the photo booth with the specified one. 18 // Replaces the view in the photo booth with the specified one.
19 virtual void Replace(gfx::NativeView new_view); 19 virtual void Replace(gfx::NativeView new_view);
20 20
21 // Paints the current display image of the window into |canvas|, clipped to 21 // Paints the current display image of the window into |canvas|, clipped to
22 // |target_bounds|. 22 // |target_bounds|.
23 virtual void PaintScreenshotIntoCanvas(gfx::Canvas* canvas, 23 virtual void PaintScreenshotIntoCanvas(gfx::Canvas* canvas,
24 const gfx::Rect& target_bounds); 24 const gfx::Rect& target_bounds);
25 25
26 private: 26 private:
27 DISALLOW_COPY_AND_ASSIGN(NativeViewPhotoboothGtk); 27 DISALLOW_COPY_AND_ASSIGN(NativeViewPhotoboothGtk);
28 }; 28 };
29 29
30 #endif // CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_ 30 #endif // CHROME_BROWSER_UI_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698