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

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

Issue 868123002: Reset gesture detection upon page navigation for Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ui::TextInputClient* GetTextInputClient() override; 70 ui::TextInputClient* GetTextInputClient() override;
71 bool IsShowingContextMenu() const override; 71 bool IsShowingContextMenu() const override;
72 void SetShowingContextMenu(bool showing_menu) override; 72 void SetShowingContextMenu(bool showing_menu) override;
73 base::string16 GetSelectedText() const override; 73 base::string16 GetSelectedText() const override;
74 bool IsMouseLocked() override; 74 bool IsMouseLocked() override;
75 gfx::Size GetVisibleViewportSize() const override; 75 gfx::Size GetVisibleViewportSize() const override;
76 void SetInsets(const gfx::Insets& insets) override; 76 void SetInsets(const gfx::Insets& insets) override;
77 void BeginFrameSubscription( 77 void BeginFrameSubscription(
78 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 78 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
79 void EndFrameSubscription() override; 79 void EndFrameSubscription() override;
80 void ResetGestureDetection() override;
80 81
81 // IPC::Listener implementation: 82 // IPC::Listener implementation:
82 bool OnMessageReceived(const IPC::Message& msg) override; 83 bool OnMessageReceived(const IPC::Message& msg) override;
83 84
84 // Called by the host when the input flush has completed. 85 // Called by the host when the input flush has completed.
85 void OnDidFlushInput(); 86 void OnDidFlushInput();
86 87
87 void SetPopupType(blink::WebPopupType popup_type); 88 void SetPopupType(blink::WebPopupType popup_type);
88 89
89 blink::WebPopupType GetPopupType(); 90 blink::WebPopupType GetPopupType();
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 418 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
418 419
419 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 420 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
420 421
421 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 422 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
422 }; 423 };
423 424
424 } // namespace content 425 } // namespace content
425 426
426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 427 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698