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

Side by Side Diff: chrome/browser/views/tabs/native_view_photobooth.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/views/repost_form_warning_view.h ('k') | chrome/common/common_param_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_H_
6 #define CHROME_BROWSER_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "app/gfx/native_widget_types.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 class Canvas; 11 class Canvas;
12 class Rect; 12 class Rect;
13 } 13 }
14 /////////////////////////////////////////////////////////////////////////////// 14 ///////////////////////////////////////////////////////////////////////////////
15 // NativeViewPhotobooth 15 // NativeViewPhotobooth
16 // 16 //
17 // An object that a NativeView "steps into" to have its picture taken. This is 17 // An object that a NativeView "steps into" to have its picture taken. This is
18 // used to generate a full size screen shot of the contents of a NativeView 18 // used to generate a full size screen shot of the contents of a NativeView
(...skipping 15 matching lines...) Expand all
34 // Replaces the view in the photo booth with the specified one. 34 // Replaces the view in the photo booth with the specified one.
35 virtual void Replace(gfx::NativeView new_view) = 0; 35 virtual void Replace(gfx::NativeView new_view) = 0;
36 36
37 // Paints the current display image of the window into |canvas|, clipped to 37 // Paints the current display image of the window into |canvas|, clipped to
38 // |target_bounds|. 38 // |target_bounds|.
39 virtual void PaintScreenshotIntoCanvas(gfx::Canvas* canvas, 39 virtual void PaintScreenshotIntoCanvas(gfx::Canvas* canvas,
40 const gfx::Rect& target_bounds) = 0; 40 const gfx::Rect& target_bounds) = 0;
41 }; 41 };
42 42
43 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_H_ 43 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_NATIVE_VIEW_PHOTOBOOTH_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/repost_form_warning_view.h ('k') | chrome/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698