OLD | NEW |
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 bool IsMouseLocked() override; | 76 bool IsMouseLocked() override; |
77 gfx::Size GetVisibleViewportSize() const override; | 77 gfx::Size GetVisibleViewportSize() const override; |
78 void SetInsets(const gfx::Insets& insets) override; | 78 void SetInsets(const gfx::Insets& insets) override; |
79 void BeginFrameSubscription( | 79 void BeginFrameSubscription( |
80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
81 void EndFrameSubscription() override; | 81 void EndFrameSubscription() override; |
82 | 82 |
83 // IPC::Listener implementation: | 83 // IPC::Listener implementation: |
84 bool OnMessageReceived(const IPC::Message& msg) override; | 84 bool OnMessageReceived(const IPC::Message& msg) override; |
85 | 85 |
86 // Called by the host when the input flush has completed. | |
87 void OnDidFlushInput(); | |
88 | |
89 void SetPopupType(blink::WebPopupType popup_type); | 86 void SetPopupType(blink::WebPopupType popup_type); |
90 | 87 |
91 blink::WebPopupType GetPopupType(); | 88 blink::WebPopupType GetPopupType(); |
92 | 89 |
93 // Return a value that is incremented each time the renderer swaps a new frame | 90 // Return a value that is incremented each time the renderer swaps a new frame |
94 // to the view. | 91 // to the view. |
95 uint32 RendererFrameNumber(); | 92 uint32 RendererFrameNumber(); |
96 | 93 |
97 // Called each time the RenderWidgetHost receives a new frame for display from | 94 // Called each time the RenderWidgetHost receives a new frame for display from |
98 // the renderer. | 95 // the renderer. |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |