| 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 void RestoreFocus() override; | 299 void RestoreFocus() override; |
| 300 void FocusThroughTabTraversal(bool reverse) override; | 300 void FocusThroughTabTraversal(bool reverse) override; |
| 301 bool ShowingInterstitialPage() const override; | 301 bool ShowingInterstitialPage() const override; |
| 302 InterstitialPage* GetInterstitialPage() const override; | 302 InterstitialPage* GetInterstitialPage() const override; |
| 303 bool IsSavable() override; | 303 bool IsSavable() override; |
| 304 void OnSavePage() override; | 304 void OnSavePage() override; |
| 305 bool SavePage(const base::FilePath& main_file, | 305 bool SavePage(const base::FilePath& main_file, |
| 306 const base::FilePath& dir_path, | 306 const base::FilePath& dir_path, |
| 307 SavePageType save_type) override; | 307 SavePageType save_type) override; |
| 308 void SaveFrame(const GURL& url, const Referrer& referrer) override; | 308 void SaveFrame(const GURL& url, const Referrer& referrer) override; |
| 309 void SaveFrameWithHeaders(const GURL& url, |
| 310 const Referrer& referrer, |
| 311 const std::string& headers) override; |
| 309 void GenerateMHTML(const base::FilePath& file, | 312 void GenerateMHTML(const base::FilePath& file, |
| 310 const base::Callback<void(int64)>& callback) override; | 313 const base::Callback<void(int64)>& callback) override; |
| 311 const std::string& GetContentsMimeType() const override; | 314 const std::string& GetContentsMimeType() const override; |
| 312 bool WillNotifyDisconnection() const override; | 315 bool WillNotifyDisconnection() const override; |
| 313 void SetOverrideEncoding(const std::string& encoding) override; | 316 void SetOverrideEncoding(const std::string& encoding) override; |
| 314 void ResetOverrideEncoding() override; | 317 void ResetOverrideEncoding() override; |
| 315 RendererPreferences* GetMutableRendererPrefs() override; | 318 RendererPreferences* GetMutableRendererPrefs() override; |
| 316 void Close() override; | 319 void Close() override; |
| 317 void SystemDragEnded() override; | 320 void SystemDragEnded() override; |
| 318 void UserGestureDone() override; | 321 void UserGestureDone() override; |
| (...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1280 // Adds/removes a callback called on creation of each new WebContents. | 1283 // Adds/removes a callback called on creation of each new WebContents. |
| 1281 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1284 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1282 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1285 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1283 | 1286 |
| 1284 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1287 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1285 }; | 1288 }; |
| 1286 | 1289 |
| 1287 } // namespace content | 1290 } // namespace content |
| 1288 | 1291 |
| 1289 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1292 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |