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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 10796106: aura: Rename OnWindowVisisbilityChanged() to OnWindowTargetVisibilityChanged(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const gfx::Point& location) OVERRIDE; 98 const gfx::Point& location) OVERRIDE;
99 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; 99 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE;
100 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; 100 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE;
101 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; 101 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE;
102 virtual bool CanFocus() OVERRIDE; 102 virtual bool CanFocus() OVERRIDE;
103 virtual void OnCaptureLost() OVERRIDE; 103 virtual void OnCaptureLost() OVERRIDE;
104 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 104 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
105 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 105 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
106 virtual void OnWindowDestroying() OVERRIDE; 106 virtual void OnWindowDestroying() OVERRIDE;
107 virtual void OnWindowDestroyed() OVERRIDE; 107 virtual void OnWindowDestroyed() OVERRIDE;
108 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; 108 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
109 virtual bool HasHitTestMask() const OVERRIDE; 109 virtual bool HasHitTestMask() const OVERRIDE;
110 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 110 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
111 111
112 // Overridden from aura::client::DragDropDelegate: 112 // Overridden from aura::client::DragDropDelegate:
113 virtual void OnDragEntered(const aura::DropTargetEvent& event) OVERRIDE; 113 virtual void OnDragEntered(const aura::DropTargetEvent& event) OVERRIDE;
114 virtual int OnDragUpdated(const aura::DropTargetEvent& event) OVERRIDE; 114 virtual int OnDragUpdated(const aura::DropTargetEvent& event) OVERRIDE;
115 virtual void OnDragExited() OVERRIDE; 115 virtual void OnDragExited() OVERRIDE;
116 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE; 116 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE;
117 117
118 gfx::Size initial_size_; 118 gfx::Size initial_size_;
(...skipping 18 matching lines...) Expand all
137 // We keep track of the render view host we're dragging over. If it changes 137 // We keep track of the render view host we're dragging over. If it changes
138 // during a drag, we need to re-send the DragEnter message. WARNING: 138 // during a drag, we need to re-send the DragEnter message. WARNING:
139 // this pointer should never be dereferenced. We only use it for comparing 139 // this pointer should never be dereferenced. We only use it for comparing
140 // pointers. 140 // pointers.
141 void* current_rvh_for_drag_; 141 void* current_rvh_for_drag_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 143 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
144 }; 144 };
145 145
146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698