| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OnMainFrameNavigation() 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 Loading... |
| 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_ |
| OLD | NEW |