| 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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 580 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
| 581 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) | 581 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) |
| 582 override; | 582 override; |
| 583 | 583 |
| 584 // RenderFrameHostManager::Delegate ------------------------------------------ | 584 // RenderFrameHostManager::Delegate ------------------------------------------ |
| 585 | 585 |
| 586 bool CreateRenderViewForRenderManager( | 586 bool CreateRenderViewForRenderManager( |
| 587 RenderViewHost* render_view_host, | 587 RenderViewHost* render_view_host, |
| 588 int opener_frame_routing_id, | 588 int opener_frame_routing_id, |
| 589 int proxy_routing_id, | 589 int proxy_routing_id, |
| 590 const FrameReplicationState& replicated_frame_state, | 590 const FrameReplicationState& replicated_frame_state) override; |
| 591 bool for_main_frame_navigation) override; | 591 bool CreateRenderWidgetHostViewForRenderManager( |
| 592 RenderViewHost* render_view_host, |
| 593 int proxy_routing_id) override; |
| 592 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, | 594 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, |
| 593 int parent_routing_id, | 595 int parent_routing_id, |
| 594 int previous_sibling_routing_id, | 596 int previous_sibling_routing_id, |
| 595 int proxy_routing_id) override; | 597 int proxy_routing_id) override; |
| 596 void BeforeUnloadFiredFromRenderManager( | 598 void BeforeUnloadFiredFromRenderManager( |
| 597 bool proceed, | 599 bool proceed, |
| 598 const base::TimeTicks& proceed_time, | 600 const base::TimeTicks& proceed_time, |
| 599 bool* proceed_to_fire_unload) override; | 601 bool* proceed_to_fire_unload) override; |
| 600 void RenderProcessGoneFromRenderManager( | 602 void RenderProcessGoneFromRenderManager( |
| 601 RenderViewHost* render_view_host) override; | 603 RenderViewHost* render_view_host) override; |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1307 // Adds/removes a callback called on creation of each new WebContents. | 1309 // Adds/removes a callback called on creation of each new WebContents. |
| 1308 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1310 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1309 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1311 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1310 | 1312 |
| 1311 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1313 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1312 }; | 1314 }; |
| 1313 | 1315 |
| 1314 } // namespace content | 1316 } // namespace content |
| 1315 | 1317 |
| 1316 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1318 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |