| 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 // void Paste() override; | 604 // void Paste() override; |
| 605 // void SelectAll() override; | 605 // void SelectAll() override; |
| 606 void MoveRangeSelectionExtent(const gfx::Point& extent) override; | 606 void MoveRangeSelectionExtent(const gfx::Point& extent) override; |
| 607 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 607 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
| 608 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) | 608 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) |
| 609 override; | 609 override; |
| 610 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; | 610 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; |
| 611 void ReplicatePageFocus(bool is_focused) override; | 611 void ReplicatePageFocus(bool is_focused) override; |
| 612 RenderWidgetHostImpl* GetFocusedRenderWidgetHost( | 612 RenderWidgetHostImpl* GetFocusedRenderWidgetHost( |
| 613 RenderWidgetHostImpl* receiving_widget) override; | 613 RenderWidgetHostImpl* receiving_widget) override; |
| 614 void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host) override; | 614 void RendererUnresponsive( |
| 615 RenderWidgetHostImpl* render_widget_host, |
| 616 RenderWidgetHostDelegate::RendererUnresponsiveType type) override; |
| 615 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; | 617 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; |
| 616 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, | 618 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, |
| 617 bool user_gesture, | 619 bool user_gesture, |
| 618 bool last_unlocked_by_target, | 620 bool last_unlocked_by_target, |
| 619 bool privileged) override; | 621 bool privileged) override; |
| 620 gfx::Rect GetRootWindowResizerRect( | 622 gfx::Rect GetRootWindowResizerRect( |
| 621 RenderWidgetHostImpl* render_widget_host) const override; | 623 RenderWidgetHostImpl* render_widget_host) const override; |
| 622 bool IsFullscreenForCurrentTab() const override; | 624 bool IsFullscreenForCurrentTab() const override; |
| 623 blink::WebDisplayMode GetDisplayMode( | 625 blink::WebDisplayMode GetDisplayMode( |
| 624 RenderWidgetHostImpl* render_widget_host) const override; | 626 RenderWidgetHostImpl* render_widget_host) const override; |
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 // Adds/removes a callback called on creation of each new WebContents. | 1424 // Adds/removes a callback called on creation of each new WebContents. |
| 1423 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1425 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1424 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1426 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1425 | 1427 |
| 1426 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1428 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1427 }; | 1429 }; |
| 1428 | 1430 |
| 1429 } // namespace content | 1431 } // namespace content |
| 1430 | 1432 |
| 1431 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1433 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |