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

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

Issue 422933002: Shift the error page "More" button over to text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'c to r287451 to get past removal of chrome/browser/resources/ssl/blocking.html and thus the pr… Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/renderer/net/net_error_page_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/public/renderer/render_frame_observer.h" 9 #include "content/public/renderer/render_frame_observer.h"
10 #include "gin/arguments.h" 10 #include "gin/arguments.h"
(...skipping 18 matching lines...) Expand all
29 private: 29 private:
30 explicit NetErrorPageController(content::RenderFrame* render_frame); 30 explicit NetErrorPageController(content::RenderFrame* render_frame);
31 virtual ~NetErrorPageController(); 31 virtual ~NetErrorPageController();
32 32
33 // Execute a "Load Stale" button click. 33 // Execute a "Load Stale" button click.
34 bool LoadStaleButtonClick(); 34 bool LoadStaleButtonClick();
35 35
36 // Execute a "Reload" button click. 36 // Execute a "Reload" button click.
37 bool ReloadButtonClick(); 37 bool ReloadButtonClick();
38 38
39 // Execute a "More" button click. 39 // Execute a "Details" button click.
40 bool MoreButtonClick(); 40 bool DetailsButtonClick();
41 41
42 // Track a click when the page has suggestions from the navigation correction 42 // Track a click when the page has suggestions from the navigation correction
43 // service. 43 // service.
44 bool TrackClick(const gin::Arguments& args); 44 bool TrackClick(const gin::Arguments& args);
45 45
46 // gin::WrappableBase 46 // gin::WrappableBase
47 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 47 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
48 v8::Isolate* isolate) OVERRIDE; 48 v8::Isolate* isolate) OVERRIDE;
49 49
50 // RenderFrameObserver. Overridden to avoid being destroyed when RenderFrame 50 // RenderFrameObserver. Overridden to avoid being destroyed when RenderFrame
51 // goes away; NetErrorPageController objects are owned by the JS 51 // goes away; NetErrorPageController objects are owned by the JS
52 // garbage collector. 52 // garbage collector.
53 virtual void OnDestruct() OVERRIDE; 53 virtual void OnDestruct() OVERRIDE;
54 54
55 DISALLOW_COPY_AND_ASSIGN(NetErrorPageController); 55 DISALLOW_COPY_AND_ASSIGN(NetErrorPageController);
56 }; 56 };
57 57
58 #endif // CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_ 58 #endif // CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/common/localized_error.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