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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 1 month 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool IsMouseLocked() override; 79 bool IsMouseLocked() override;
80 gfx::Size GetVisibleViewportSize() const override; 80 gfx::Size GetVisibleViewportSize() const override;
81 void SetInsets(const gfx::Insets& insets) override; 81 void SetInsets(const gfx::Insets& insets) override;
82 void BeginFrameSubscription( 82 void BeginFrameSubscription(
83 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 83 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
84 void EndFrameSubscription() override; 84 void EndFrameSubscription() override;
85 85
86 // IPC::Listener implementation: 86 // IPC::Listener implementation:
87 bool OnMessageReceived(const IPC::Message& msg) override; 87 bool OnMessageReceived(const IPC::Message& msg) override;
88 88
89 // Called by the host when the input flush has completed.
90 void OnDidFlushInput();
91
92 void SetPopupType(blink::WebPopupType popup_type); 89 void SetPopupType(blink::WebPopupType popup_type);
93 90
94 blink::WebPopupType GetPopupType(); 91 blink::WebPopupType GetPopupType();
95 92
96 // Return a value that is incremented each time the renderer swaps a new frame 93 // Return a value that is incremented each time the renderer swaps a new frame
97 // to the view. 94 // to the view.
98 uint32 RendererFrameNumber(); 95 uint32 RendererFrameNumber();
99 96
100 // Called each time the RenderWidgetHost receives a new frame for display from 97 // Called each time the RenderWidgetHost receives a new frame for display from
101 // the renderer. 98 // the renderer.
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 422 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
426 423
427 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 424 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
428 425
429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 426 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
430 }; 427 };
431 428
432 } // namespace content 429 } // namespace content
433 430
434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 431 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698