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

Unified Diff: views/widget/native_widget_aura.h

Issue 7741027: Create a new views_aura_desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/views.gyp ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_aura.h
===================================================================
--- views/widget/native_widget_aura.h (revision 98234)
+++ views/widget/native_widget_aura.h (working copy)
@@ -6,11 +6,13 @@
#define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
#pragma once
+#include "aura/window_delegate.h"
#include "views/widget/native_widget_private.h"
namespace views {
-class NativeWidgetAura : public internal::NativeWidgetPrivate {
+class NativeWidgetAura : public internal::NativeWidgetPrivate,
+ public aura::WindowDelegate {
public:
explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate);
virtual ~NativeWidgetAura();
@@ -97,7 +99,14 @@
const Widget* ancestor, gfx::Point* point) const OVERRIDE;
virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE;
+ // Overridden from aura::WindowDelegate:
+ virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+
private:
+ internal::NativeWidgetDelegate* delegate_;
+
+ aura::Window* window_;
+
DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
};
« no previous file with comments | « views/views.gyp ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698