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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 // The following 4 functions are already listed under WebContents overrides: | 581 // The following 4 functions are already listed under WebContents overrides: |
582 // void Cut() override; | 582 // void Cut() override; |
583 // void Copy() override; | 583 // void Copy() override; |
584 // void Paste() override; | 584 // void Paste() override; |
585 // void SelectAll() override; | 585 // void SelectAll() override; |
586 void MoveRangeSelectionExtent(const gfx::Point& extent) override; | 586 void MoveRangeSelectionExtent(const gfx::Point& extent) override; |
587 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 587 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
588 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) | 588 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) |
589 override; | 589 override; |
590 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; | 590 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; |
| 591 void ReplicatePageFocus(bool is_focused) override; |
591 | 592 |
592 // RenderFrameHostManager::Delegate ------------------------------------------ | 593 // RenderFrameHostManager::Delegate ------------------------------------------ |
593 | 594 |
594 bool CreateRenderViewForRenderManager( | 595 bool CreateRenderViewForRenderManager( |
595 RenderViewHost* render_view_host, | 596 RenderViewHost* render_view_host, |
596 int opener_frame_routing_id, | 597 int opener_frame_routing_id, |
597 int proxy_routing_id, | 598 int proxy_routing_id, |
598 const FrameReplicationState& replicated_frame_state) override; | 599 const FrameReplicationState& replicated_frame_state) override; |
599 void CreateRenderWidgetHostViewForRenderManager( | 600 void CreateRenderWidgetHostViewForRenderManager( |
600 RenderViewHost* render_view_host) override; | 601 RenderViewHost* render_view_host) override; |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 // Adds/removes a callback called on creation of each new WebContents. | 1329 // Adds/removes a callback called on creation of each new WebContents. |
1329 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1330 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1330 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1331 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1331 | 1332 |
1332 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1333 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1333 }; | 1334 }; |
1334 | 1335 |
1335 } // namespace content | 1336 } // namespace content |
1336 | 1337 |
1337 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1338 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |