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 <functional> | 10 #include <functional> |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 const base::FilePath& dir_path, | 352 const base::FilePath& dir_path, |
353 SavePageType save_type) override; | 353 SavePageType save_type) override; |
354 void SaveFrame(const GURL& url, const Referrer& referrer) override; | 354 void SaveFrame(const GURL& url, const Referrer& referrer) override; |
355 void SaveFrameWithHeaders(const GURL& url, | 355 void SaveFrameWithHeaders(const GURL& url, |
356 const Referrer& referrer, | 356 const Referrer& referrer, |
357 const std::string& headers) override; | 357 const std::string& headers) override; |
358 void GenerateMHTML(const MHTMLGenerationParams& params, | 358 void GenerateMHTML(const MHTMLGenerationParams& params, |
359 const base::Callback<void(int64_t)>& callback) override; | 359 const base::Callback<void(int64_t)>& callback) override; |
360 const std::string& GetContentsMimeType() const override; | 360 const std::string& GetContentsMimeType() const override; |
361 bool WillNotifyDisconnection() const override; | 361 bool WillNotifyDisconnection() const override; |
362 void SetOverrideEncoding(const std::string& encoding) override; | |
363 void ResetOverrideEncoding() override; | |
364 RendererPreferences* GetMutableRendererPrefs() override; | 362 RendererPreferences* GetMutableRendererPrefs() override; |
365 void Close() override; | 363 void Close() override; |
366 void SystemDragEnded() override; | 364 void SystemDragEnded() override; |
367 void UserGestureDone() override; | 365 void UserGestureDone() override; |
368 void SetClosedByUserGesture(bool value) override; | 366 void SetClosedByUserGesture(bool value) override; |
369 bool GetClosedByUserGesture() const override; | 367 bool GetClosedByUserGesture() const override; |
370 void ViewSource() override; | 368 void ViewSource() override; |
371 void ViewFrameSource(const GURL& url, const PageState& page_state) override; | 369 void ViewFrameSource(const GURL& url, const PageState& page_state) override; |
372 int GetMinimumZoomPercent() const override; | 370 int GetMinimumZoomPercent() const override; |
373 int GetMaximumZoomPercent() const override; | 371 int GetMaximumZoomPercent() const override; |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1449 // Adds/removes a callback called on creation of each new WebContents. | 1447 // Adds/removes a callback called on creation of each new WebContents. |
1450 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1451 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1452 | 1450 |
1453 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1454 }; | 1452 }; |
1455 | 1453 |
1456 } // namespace content | 1454 } // namespace content |
1457 | 1455 |
1458 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |