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

Side by Side Diff: views/controls/native/native_view_host_wrapper.h

Issue 231022: Reverting 27113. (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 | « views/controls/native/native_view_host_win.cc ('k') | views/controls/native_control.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:eol-style
- LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ 5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_
6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ 6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_
7 7
8 namespace views { 8 namespace views {
9 9
10 class NativeViewHost; 10 class NativeViewHost;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void UninstallClip() = 0; 44 virtual void UninstallClip() = 0;
45 45
46 // Shows the gfx::NativeView at the specified position (relative to the parent 46 // Shows the gfx::NativeView at the specified position (relative to the parent
47 // native view). 47 // native view).
48 virtual void ShowWidget(int x, int y, int w, int h) = 0; 48 virtual void ShowWidget(int x, int y, int w, int h) = 0;
49 49
50 // Hides the gfx::NativeView. NOTE: this may be invoked when the native view 50 // Hides the gfx::NativeView. NOTE: this may be invoked when the native view
51 // is already hidden. 51 // is already hidden.
52 virtual void HideWidget() = 0; 52 virtual void HideWidget() = 0;
53 53
54 // Sets focus to the gfx::NativeView.
55 virtual void SetFocus() = 0;
56
54 // Creates a platform-specific instance of an object implementing this 57 // Creates a platform-specific instance of an object implementing this
55 // interface. 58 // interface.
56 static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host); 59 static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host);
57 }; 60 };
58 61
59 } // namespace views 62 } // namespace views
60 63
61 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ 64 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_
OLDNEW
« no previous file with comments | « views/controls/native/native_view_host_win.cc ('k') | views/controls/native_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698