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: android_webview/renderer/print_web_view_helper.h

Issue 623833003: replace OVERRIDE and FINAL with override and final in android_webview/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « android_webview/renderer/print_render_frame_observer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // TODO(sgurun) copied from chrome/renderer. Remove after crbug.com/322276 5 // TODO(sgurun) copied from chrome/renderer. Remove after crbug.com/322276
6 6
7 #ifndef AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 7 #ifndef AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_
8 #define AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 8 #define AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 }; 107 };
108 108
109 enum PrintPreviewRequestType { 109 enum PrintPreviewRequestType {
110 PRINT_PREVIEW_USER_INITIATED_ENTIRE_FRAME, 110 PRINT_PREVIEW_USER_INITIATED_ENTIRE_FRAME,
111 PRINT_PREVIEW_USER_INITIATED_SELECTION, 111 PRINT_PREVIEW_USER_INITIATED_SELECTION,
112 PRINT_PREVIEW_USER_INITIATED_CONTEXT_NODE, 112 PRINT_PREVIEW_USER_INITIATED_CONTEXT_NODE,
113 PRINT_PREVIEW_SCRIPTED // triggered by window.print(). 113 PRINT_PREVIEW_SCRIPTED // triggered by window.print().
114 }; 114 };
115 115
116 // RenderViewObserver implementation. 116 // RenderViewObserver implementation.
117 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 117 virtual bool OnMessageReceived(const IPC::Message& message) override;
118 virtual void PrintPage(blink::WebLocalFrame* frame, 118 virtual void PrintPage(blink::WebLocalFrame* frame,
119 bool user_initiated) OVERRIDE; 119 bool user_initiated) override;
120 virtual void DidStartLoading() OVERRIDE; 120 virtual void DidStartLoading() override;
121 virtual void DidStopLoading() OVERRIDE; 121 virtual void DidStopLoading() override;
122 122
123 // Message handlers --------------------------------------------------------- 123 // Message handlers ---------------------------------------------------------
124 void OnPrintPages(); 124 void OnPrintPages();
125 void OnPrintForSystemDialog(); 125 void OnPrintForSystemDialog();
126 void OnInitiatePrintPreview(bool selection_only); 126 void OnInitiatePrintPreview(bool selection_only);
127 void OnPrintPreview(const base::DictionaryValue& settings); 127 void OnPrintPreview(const base::DictionaryValue& settings);
128 void OnPrintForPrintPreview(const base::DictionaryValue& job_settings); 128 void OnPrintForPrintPreview(const base::DictionaryValue& job_settings);
129 void OnPrintingDone(bool success); 129 void OnPrintingDone(bool success);
130 130
131 // Get |page_size| and |content_area| information from 131 // Get |page_size| and |content_area| information from
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 PrintPreviewContext print_preview_context_; 469 PrintPreviewContext print_preview_context_;
470 bool is_loading_; 470 bool is_loading_;
471 bool is_scripted_preview_delayed_; 471 bool is_scripted_preview_delayed_;
472 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; 472 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_;
473 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); 473 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
474 }; 474 };
475 475
476 } // namespace printing 476 } // namespace printing
477 477
478 #endif // AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 478 #endif // AW_RENDERER_PRINT_WEB_VIEW_HELPER_H_
OLDNEW
« no previous file with comments | « android_webview/renderer/print_render_frame_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698