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

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

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
(Empty)
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 VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_
6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "views/controls/native/native_view_host_wrapper.h"
11
12 namespace views {
13
14 class NativeViewHost;
15
16 // A Views implementation of NativeViewHostWrapper
17 class NativeViewHostViews : public NativeViewHostWrapper {
18 public:
19 explicit NativeViewHostViews(NativeViewHost* host);
20 virtual ~NativeViewHostViews();
21
22 // Overridden from NativeViewHostWrapper:
23 virtual void NativeViewAttached();
24 virtual void NativeViewDetaching(bool destroyed);
25 virtual void AddedToWidget();
26 virtual void RemovedFromWidget();
27 virtual void InstallClip(int x, int y, int w, int h);
28 virtual bool HasInstalledClip();
29 virtual void UninstallClip();
30 virtual void ShowWidget(int x, int y, int w, int h);
31 virtual void HideWidget();
32 virtual void SetFocus();
33 virtual gfx::NativeViewAccessible GetNativeViewAccessible();
34
35 private:
36 // Our associated NativeViewHost.
37 NativeViewHost* host_;
38
39 // Have we installed a clip region?
40 bool installed_clip_;
41
42 DISALLOW_COPY_AND_ASSIGN(NativeViewHostViews);
43 };
44
45 } // namespace views
46
47 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_
OLDNEW
« no previous file with comments | « views/controls/native/native_view_host_gtk.cc ('k') | views/controls/native/native_view_host_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698