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

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

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

Powered by Google App Engine
This is Rietveld 408576698