Chromium Code Reviews| 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 663 // Unsets the currently showing interstitial. | 663 // Unsets the currently showing interstitial. | 
| 664 void DetachInterstitialPage() override; | 664 void DetachInterstitialPage() override; | 
| 665 | 665 | 
| 666 // Changes the IsLoading state and notifies the delegate as needed. | 666 // Changes the IsLoading state and notifies the delegate as needed. | 
| 667 // |details| is used to provide details on the load that just finished | 667 // |details| is used to provide details on the load that just finished | 
| 668 // (but can be null if not applicable). | 668 // (but can be null if not applicable). | 
| 669 void SetIsLoading(bool is_loading, | 669 void SetIsLoading(bool is_loading, | 
| 670 bool to_different_document, | 670 bool to_different_document, | 
| 671 LoadNotificationDetails* details) override; | 671 LoadNotificationDetails* details) override; | 
| 672 | 672 | 
| 673 // Called to advance the focus to next form control element in | |
| 674 // forward/backward direction from current element. | |
| 675 void AdvanceFocusToNextFormControl(bool forward) override; | |
| 676 | |
| 
 
Avi (use Gerrit)
2015/04/17 16:26:38
No.
In web_contents.h, you have it with its frien
 
AKV
2015/04/17 16:40:37
Done. Thanks.
 
 | |
| 673 typedef base::Callback<void(WebContents*)> CreatedCallback; | 677 typedef base::Callback<void(WebContents*)> CreatedCallback; | 
| 674 | 678 | 
| 675 // Requests the renderer to move the selection extent to a new position. | 679 // Requests the renderer to move the selection extent to a new position. | 
| 676 void MoveRangeSelectionExtent(const gfx::Point& extent); | 680 void MoveRangeSelectionExtent(const gfx::Point& extent); | 
| 677 | 681 | 
| 678 // Requests the renderer to select the region between two points in the | 682 // Requests the renderer to select the region between two points in the | 
| 679 // currently focused frame. | 683 // currently focused frame. | 
| 680 void SelectRange(const gfx::Point& base, const gfx::Point& extent); | 684 void SelectRange(const gfx::Point& base, const gfx::Point& extent); | 
| 681 | 685 | 
| 682 // Notifies the main frame that it can continue navigation (if it was deferred | 686 // Notifies the main frame that it can continue navigation (if it was deferred | 
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1288 // Adds/removes a callback called on creation of each new WebContents. | 1292 // Adds/removes a callback called on creation of each new WebContents. | 
| 1289 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1293 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 
| 1290 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1294 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 
| 1291 | 1295 | 
| 1292 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1296 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 
| 1293 }; | 1297 }; | 
| 1294 | 1298 | 
| 1295 } // namespace content | 1299 } // namespace content | 
| 1296 | 1300 | 
| 1297 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1301 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 
| OLD | NEW |