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

Side by Side Diff: chrome/renderer/net/net_error_page_controller.h

Issue 1750113002: Remove "Show saved copy" button from error page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_ 5 #ifndef CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_
6 #define CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_ 6 #define CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "components/error_page/renderer/net_error_helper_core.h" 10 #include "components/error_page/renderer/net_error_helper_core.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 private: 50 private:
51 explicit NetErrorPageController(base::WeakPtr<Delegate> delegate); 51 explicit NetErrorPageController(base::WeakPtr<Delegate> delegate);
52 ~NetErrorPageController() override; 52 ~NetErrorPageController() override;
53 53
54 // Execute a "Show saved copy" button click. 54 // Execute a "Show saved copy" button click.
55 bool ShowSavedCopyButtonClick(); 55 bool ShowSavedCopyButtonClick();
56 56
57 // Execute a button click to show the list of all offline pages. 57 // Execute a button click to show the list of all offline pages.
58 bool ShowOfflinePagesButtonClick(); 58 bool ShowOfflinePagesButtonClick();
59 59
60 // Execute a button click to show the offline copy of this page.
61 bool ShowOfflineCopyButtonClick();
62
63 // Execute a "Reload" button click. 60 // Execute a "Reload" button click.
64 bool ReloadButtonClick(); 61 bool ReloadButtonClick();
65 62
66 // Execute a "Details" button click. 63 // Execute a "Details" button click.
67 bool DetailsButtonClick(); 64 bool DetailsButtonClick();
68 65
69 // Track easter egg plays. 66 // Track easter egg plays.
70 bool TrackEasterEgg(); 67 bool TrackEasterEgg();
71 68
72 // Execute a "Diagnose Errors" button click. 69 // Execute a "Diagnose Errors" button click.
(...skipping 12 matching lines...) Expand all
85 // gin::WrappableBase 82 // gin::WrappableBase
86 gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 83 gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
87 v8::Isolate* isolate) override; 84 v8::Isolate* isolate) override;
88 85
89 base::WeakPtr<Delegate> delegate_; 86 base::WeakPtr<Delegate> delegate_;
90 87
91 DISALLOW_COPY_AND_ASSIGN(NetErrorPageController); 88 DISALLOW_COPY_AND_ASSIGN(NetErrorPageController);
92 }; 89 };
93 90
94 #endif // CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_ 91 #endif // CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/net/net_error_helper.cc ('k') | chrome/renderer/net/net_error_page_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698