| 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 <map> | 10 #include <map> |
| (...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 const IPC::Message& message); | 912 const IPC::Message& message); |
| 913 #endif // defined(ENABLE_PLUGINS) | 913 #endif // defined(ENABLE_PLUGINS) |
| 914 void OnUpdateFaviconURL(const std::vector<FaviconURL>& candidates); | 914 void OnUpdateFaviconURL(const std::vector<FaviconURL>& candidates); |
| 915 void OnFirstVisuallyNonEmptyPaint(); | 915 void OnFirstVisuallyNonEmptyPaint(); |
| 916 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, | 916 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, |
| 917 const base::string16& main_text, | 917 const base::string16& main_text, |
| 918 const base::string16& sub_text); | 918 const base::string16& sub_text); |
| 919 void OnHideValidationMessage(); | 919 void OnHideValidationMessage(); |
| 920 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); | 920 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); |
| 921 | 921 |
| 922 void OnIncrementCapturerCount(); |
| 923 void OnDecrementCapturerCount(); |
| 924 |
| 922 // Called by derived classes to indicate that we're no longer waiting for a | 925 // Called by derived classes to indicate that we're no longer waiting for a |
| 923 // response. This won't actually update the throbber, but it will get picked | 926 // response. This won't actually update the throbber, but it will get picked |
| 924 // up at the next animation step if the throbber is going. | 927 // up at the next animation step if the throbber is going. |
| 925 void SetNotWaitingForResponse() { waiting_for_response_ = false; } | 928 void SetNotWaitingForResponse() { waiting_for_response_ = false; } |
| 926 | 929 |
| 927 // Navigation helpers -------------------------------------------------------- | 930 // Navigation helpers -------------------------------------------------------- |
| 928 // | 931 // |
| 929 // These functions are helpers for Navigate() and DidNavigate(). | 932 // These functions are helpers for Navigate() and DidNavigate(). |
| 930 | 933 |
| 931 // Handles post-navigation tasks in DidNavigate AFTER the entry has been | 934 // Handles post-navigation tasks in DidNavigate AFTER the entry has been |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 // Adds/removes a callback called on creation of each new WebContents. | 1329 // Adds/removes a callback called on creation of each new WebContents. |
| 1327 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1330 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1328 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1331 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1329 | 1332 |
| 1330 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1333 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1331 }; | 1334 }; |
| 1332 | 1335 |
| 1333 } // namespace content | 1336 } // namespace content |
| 1334 | 1337 |
| 1335 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1338 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |