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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 8770011: aura: Ask the WindowDelegate before a Window is Focus()ed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 110 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
111 const gfx::Rect& new_bounds) OVERRIDE; 111 const gfx::Rect& new_bounds) OVERRIDE;
112 virtual void OnFocus() OVERRIDE; 112 virtual void OnFocus() OVERRIDE;
113 virtual void OnBlur() OVERRIDE; 113 virtual void OnBlur() OVERRIDE;
114 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; 114 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE;
115 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 115 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
116 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 116 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
117 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; 117 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE;
118 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; 118 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE;
119 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; 119 virtual bool ShouldActivate(aura::Event* event) OVERRIDE;
120 virtual bool CanFocus() OVERRIDE;
120 virtual void OnActivated() OVERRIDE; 121 virtual void OnActivated() OVERRIDE;
121 virtual void OnLostActive() OVERRIDE; 122 virtual void OnLostActive() OVERRIDE;
122 virtual void OnCaptureLost() OVERRIDE; 123 virtual void OnCaptureLost() OVERRIDE;
123 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 124 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
124 virtual void OnWindowDestroying() OVERRIDE; 125 virtual void OnWindowDestroying() OVERRIDE;
125 virtual void OnWindowDestroyed() OVERRIDE; 126 virtual void OnWindowDestroyed() OVERRIDE;
126 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; 127 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
127 128
128 private: 129 private:
129 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) 130 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 168
168 gfx::PluginWindowHandle current_surface_; 169 gfx::PluginWindowHandle current_surface_;
169 #endif 170 #endif
170 171
171 bool skip_schedule_paint_; 172 bool skip_schedule_paint_;
172 173
173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
174 }; 175 };
175 176
176 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 177 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | ui/aura/window_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698