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

Side by Side Diff: chrome/renderer/chrome_mock_render_thread.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
« no previous file with comments | « chrome/renderer/blocked_plugin.h ('k') | chrome/renderer/content_settings_observer.h » ('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 (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_CHROME_MOCK_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_
6 #define CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // Cancel print preview when print preview has |page| remaining pages. 43 // Cancel print preview when print preview has |page| remaining pages.
44 void set_print_preview_cancel_page_number(int page); 44 void set_print_preview_cancel_page_number(int page);
45 45
46 // Get the number of pages to generate for print preview. 46 // Get the number of pages to generate for print preview.
47 int print_preview_pages_remaining(); 47 int print_preview_pages_remaining();
48 48
49 private: 49 private:
50 // Overrides base class implementation to add custom handling for 50 // Overrides base class implementation to add custom handling for
51 // print and extensions. 51 // print and extensions.
52 virtual bool OnMessageReceived(const IPC::Message& msg); 52 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
53 53
54 // The callee expects to be returned a valid channel_id. 54 // The callee expects to be returned a valid channel_id.
55 void OnMsgOpenChannelToExtension( 55 void OnMsgOpenChannelToExtension(
56 int routing_id, const std::string& extension_id, 56 int routing_id, const std::string& extension_id,
57 const std::string& source_extension_id, 57 const std::string& source_extension_id,
58 const std::string& target_extension_id, int* port_id); 58 const std::string& target_extension_id, int* port_id);
59 59
60 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
61 void OnAllocateTempFileForPrinting(base::FileDescriptor* renderer_fd, 61 void OnAllocateTempFileForPrinting(base::FileDescriptor* renderer_fd,
62 int* browser_fd); 62 int* browser_fd);
(...skipping 30 matching lines...) Expand all
93 93
94 // Simulates cancelling print preview if |print_preview_pages_remaining_| 94 // Simulates cancelling print preview if |print_preview_pages_remaining_|
95 // equals this. 95 // equals this.
96 int print_preview_cancel_page_number_; 96 int print_preview_cancel_page_number_;
97 97
98 // Number of pages to generate for print preview. 98 // Number of pages to generate for print preview.
99 int print_preview_pages_remaining_; 99 int print_preview_pages_remaining_;
100 }; 100 };
101 101
102 #endif // CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_ 102 #endif // CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/renderer/blocked_plugin.h ('k') | chrome/renderer/content_settings_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698