Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 988453002: Request uncompressed images from data reduction proxy when saving. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace change Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 void RestoreFocus() override; 298 void RestoreFocus() override;
299 void FocusThroughTabTraversal(bool reverse) override; 299 void FocusThroughTabTraversal(bool reverse) override;
300 bool ShowingInterstitialPage() const override; 300 bool ShowingInterstitialPage() const override;
301 InterstitialPage* GetInterstitialPage() const override; 301 InterstitialPage* GetInterstitialPage() const override;
302 bool IsSavable() override; 302 bool IsSavable() override;
303 void OnSavePage() override; 303 void OnSavePage() override;
304 bool SavePage(const base::FilePath& main_file, 304 bool SavePage(const base::FilePath& main_file,
305 const base::FilePath& dir_path, 305 const base::FilePath& dir_path,
306 SavePageType save_type) override; 306 SavePageType save_type) override;
307 void SaveFrame(const GURL& url, const Referrer& referrer) override; 307 void SaveFrame(const GURL& url, const Referrer& referrer) override;
308 void SaveFrameWithHeader(const GURL& url,
309 const Referrer& referrer,
310 const std::string& header) override;
308 void GenerateMHTML(const base::FilePath& file, 311 void GenerateMHTML(const base::FilePath& file,
309 const base::Callback<void(int64)>& callback) override; 312 const base::Callback<void(int64)>& callback) override;
310 const std::string& GetContentsMimeType() const override; 313 const std::string& GetContentsMimeType() const override;
311 bool WillNotifyDisconnection() const override; 314 bool WillNotifyDisconnection() const override;
312 void SetOverrideEncoding(const std::string& encoding) override; 315 void SetOverrideEncoding(const std::string& encoding) override;
313 void ResetOverrideEncoding() override; 316 void ResetOverrideEncoding() override;
314 RendererPreferences* GetMutableRendererPrefs() override; 317 RendererPreferences* GetMutableRendererPrefs() override;
315 void Close() override; 318 void Close() override;
316 void SystemDragEnded() override; 319 void SystemDragEnded() override;
317 void UserGestureDone() override; 320 void UserGestureDone() override;
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 // Adds/removes a callback called on creation of each new WebContents. 1275 // Adds/removes a callback called on creation of each new WebContents.
1273 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1276 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1274 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1277 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1275 1278
1276 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1279 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1277 }; 1280 };
1278 1281
1279 } // namespace content 1282 } // namespace content
1280 1283
1281 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1284 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698