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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 282593002: Reland Unified Gesture Recognizer for Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again... Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 #endif // defined(OS_ANDROID) 138 #endif // defined(OS_ANDROID)
139 139
140 #if defined(OS_WIN) 140 #if defined(OS_WIN)
141 virtual void SetParentNativeViewAccessible( 141 virtual void SetParentNativeViewAccessible(
142 gfx::NativeViewAccessible accessible_parent) OVERRIDE; 142 gfx::NativeViewAccessible accessible_parent) OVERRIDE;
143 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; 143 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE;
144 #endif 144 #endif
145 145
146 // Overridden from ui::GestureEventHelper. 146 // Overridden from ui::GestureEventHelper.
147 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; 147 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE;
148 virtual void DispatchPostponedGestureEvent(ui::GestureEvent* event) OVERRIDE; 148 virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE;
149 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; 149 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
150 150
151 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 151 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
152 152
153 protected: 153 protected:
154 friend class RenderWidgetHostView; 154 friend class RenderWidgetHostView;
155 155
156 private: 156 private:
157 // Destroys this view without calling |Destroy| on |platform_view_|. 157 // Destroys this view without calling |Destroy| on |platform_view_|.
158 void DestroyGuestView(); 158 void DestroyGuestView();
(...skipping 16 matching lines...) Expand all
175 RenderWidgetHostViewBase* platform_view_; 175 RenderWidgetHostViewBase* platform_view_;
176 #if defined(USE_AURA) 176 #if defined(USE_AURA)
177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
178 #endif 178 #endif
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
180 }; 180 };
181 181
182 } // namespace content 182 } // namespace content
183 183
184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller_unittest.cc ('k') | content/browser/frame_host/render_widget_host_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698