| 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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void Hide() override; | 128 void Hide() override; |
| 129 bool IsShowing() override; | 129 bool IsShowing() override; |
| 130 gfx::Rect GetViewBounds() const override; | 130 gfx::Rect GetViewBounds() const override; |
| 131 void SetBackgroundColor(SkColor color) override; | 131 void SetBackgroundColor(SkColor color) override; |
| 132 bool IsMouseLocked() override; | 132 bool IsMouseLocked() override; |
| 133 gfx::Size GetVisibleViewportSize() const override; | 133 gfx::Size GetVisibleViewportSize() const override; |
| 134 void SetInsets(const gfx::Insets& insets) override; | 134 void SetInsets(const gfx::Insets& insets) override; |
| 135 void FocusedNodeTouched(const gfx::Point& location_dips_screen, | 135 void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
| 136 bool editable) override; | 136 bool editable) override; |
| 137 void SetNeedsBeginFrames(bool needs_begin_frames) override; | 137 void SetNeedsBeginFrames(bool needs_begin_frames) override; |
| 138 float GetDeviceScaleFactor() const override; |
| 138 | 139 |
| 139 // Overridden from RenderWidgetHostViewBase: | 140 // Overridden from RenderWidgetHostViewBase: |
| 140 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 141 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 141 const gfx::Rect& pos) override; | 142 const gfx::Rect& pos) override; |
| 142 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 143 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
| 143 void Focus() override; | 144 void Focus() override; |
| 144 void UpdateCursor(const WebCursor& cursor) override; | 145 void UpdateCursor(const WebCursor& cursor) override; |
| 145 void SetIsLoading(bool is_loading) override; | 146 void SetIsLoading(bool is_loading) override; |
| 146 void RenderProcessGone(base::TerminationStatus status, | 147 void RenderProcessGone(base::TerminationStatus status, |
| 147 int error_code) override; | 148 int error_code) override; |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; | 616 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; |
| 616 | 617 |
| 617 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 618 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 618 | 619 |
| 619 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 620 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 620 }; | 621 }; |
| 621 | 622 |
| 622 } // namespace content | 623 } // namespace content |
| 623 | 624 |
| 624 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 625 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |