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

Side by Side Diff: views/widget/native_widget_aura.h

Issue 7903018: More shell content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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) 2011 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 VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/aura/window_delegate.h" 9 #include "ui/aura/window_delegate.h"
10 #include "views/widget/native_widget_private.h" 10 #include "views/widget/native_widget_private.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 107 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
108 virtual void ClearNativeFocus() OVERRIDE; 108 virtual void ClearNativeFocus() OVERRIDE;
109 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; 109 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE;
110 virtual bool ConvertPointFromAncestor( 110 virtual bool ConvertPointFromAncestor(
111 const Widget* ancestor, gfx::Point* point) const OVERRIDE; 111 const Widget* ancestor, gfx::Point* point) const OVERRIDE;
112 112
113 // Overridden from views::InputMethodDelegate: 113 // Overridden from views::InputMethodDelegate:
114 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; 114 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE;
115 115
116 // Overridden from aura::WindowDelegate: 116 // Overridden from aura::WindowDelegate:
117 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
118 const gfx::Rect& new_bounds) OVERRIDE;
117 virtual void OnFocus() OVERRIDE; 119 virtual void OnFocus() OVERRIDE;
118 virtual void OnBlur() OVERRIDE; 120 virtual void OnBlur() OVERRIDE;
119 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; 121 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE;
120 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 122 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
121 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; 123 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE;
122 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 124 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
123 virtual void OnWindowDestroying() OVERRIDE; 125 virtual void OnWindowDestroying() OVERRIDE;
124 virtual void OnWindowDestroyed() OVERRIDE; 126 virtual void OnWindowDestroyed() OVERRIDE;
125 127
126 private: 128 private:
127 internal::NativeWidgetDelegate* delegate_; 129 internal::NativeWidgetDelegate* delegate_;
128 130
129 aura::Window* window_; 131 aura::Window* window_;
130 132
131 // See class documentation for Widget in widget.h for a note about ownership. 133 // See class documentation for Widget in widget.h for a note about ownership.
132 Widget::InitParams::Ownership ownership_; 134 Widget::InitParams::Ownership ownership_;
133 135
134 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 136 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
135 }; 137 };
136 138
137 } // namespace views 139 } // namespace views
138 140
139 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 141 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698