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

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

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 4 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 <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
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 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 // Adds/removes a callback called on creation of each new WebContents. 1445 // Adds/removes a callback called on creation of each new WebContents.
1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1446 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1447 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1450 1448
1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1449 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1452 }; 1450 };
1453 1451
1454 } // namespace content 1452 } // namespace content
1455 1453
1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1454 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698