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

Side by Side Diff: chrome/renderer/print_web_view_helper.h

Issue 8613004: Add OVERRIDE to chrome/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PRINT_WEB_VIEW_HELPER_H_ 5 #ifndef CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_
6 #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 6 #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, 99 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest,
100 BlockScriptInitiatedPrinting); 100 BlockScriptInitiatedPrinting);
101 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, OnPrintPages); 101 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, OnPrintPages);
102 102
103 #if defined(OS_WIN) || defined(OS_MACOSX) 103 #if defined(OS_WIN) || defined(OS_MACOSX)
104 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, PrintLayoutTest); 104 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, PrintLayoutTest);
105 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, PrintWithIframe); 105 FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest, PrintWithIframe);
106 #endif // defined(OS_WIN) || defined(OS_MACOSX) 106 #endif // defined(OS_WIN) || defined(OS_MACOSX)
107 107
108 // RenderViewObserver implementation. 108 // RenderViewObserver implementation.
109 virtual bool OnMessageReceived(const IPC::Message& message); 109 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
110 virtual void PrintPage(WebKit::WebFrame* frame); 110 virtual void PrintPage(WebKit::WebFrame* frame) OVERRIDE;
111 111
112 // Message handlers --------------------------------------------------------- 112 // Message handlers ---------------------------------------------------------
113 113
114 // Print the document. 114 // Print the document.
115 void OnPrintPages(); 115 void OnPrintPages();
116 116
117 // Print the document with the print preview frame/node. 117 // Print the document with the print preview frame/node.
118 void OnPrintForSystemDialog(); 118 void OnPrintForSystemDialog();
119 119
120 // Initiate print preview. 120 // Initiate print preview.
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 423
424 State state_; 424 State state_;
425 }; 425 };
426 426
427 PrintPreviewContext print_preview_context_; 427 PrintPreviewContext print_preview_context_;
428 428
429 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); 429 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
430 }; 430 };
431 431
432 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_ 432 #endif // CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_helper.h ('k') | chrome/renderer/renderer_histogram_snapshots.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698