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

Side by Side Diff: chrome/renderer/extensions/extension_dispatcher.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_EXTENSIONS_EXTENSION_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 // If the extension is in fact idle, tell the browser process to close 83 // If the extension is in fact idle, tell the browser process to close
84 // the background page. 84 // the background page.
85 void CheckIdleStatus(const std::string& extension_id); 85 void CheckIdleStatus(const std::string& extension_id);
86 86
87 private: 87 private:
88 friend class RenderViewTest; 88 friend class RenderViewTest;
89 89
90 // RenderProcessObserver implementation: 90 // RenderProcessObserver implementation:
91 virtual bool OnControlMessageReceived(const IPC::Message& message); 91 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
92 virtual void WebKitInitialized(); 92 virtual void WebKitInitialized() OVERRIDE;
93 virtual void IdleNotification(); 93 virtual void IdleNotification() OVERRIDE;
94 94
95 void OnMessageInvoke(const std::string& extension_id, 95 void OnMessageInvoke(const std::string& extension_id,
96 const std::string& function_name, 96 const std::string& function_name,
97 const base::ListValue& args, 97 const base::ListValue& args,
98 const GURL& event_url); 98 const GURL& event_url);
99 void OnDeliverMessage(int target_port_id, const std::string& message); 99 void OnDeliverMessage(int target_port_id, const std::string& message);
100 void OnSetFunctionNames(const std::vector<std::string>& names); 100 void OnSetFunctionNames(const std::vector<std::string>& names);
101 void OnLoaded( 101 void OnLoaded(
102 const std::vector<ExtensionMsg_Loaded_Params>& loaded_extensions); 102 const std::vector<ExtensionMsg_Loaded_Params>& loaded_extensions);
103 void OnUnloaded(const std::string& id); 103 void OnUnloaded(const std::string& id);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // Status of webrequest usage for known extensions. 169 // Status of webrequest usage for known extensions.
170 // TODO(mpcomplete): remove. http://crbug.com/100411 170 // TODO(mpcomplete): remove. http://crbug.com/100411
171 bool webrequest_adblock_; 171 bool webrequest_adblock_;
172 bool webrequest_adblock_plus_; 172 bool webrequest_adblock_plus_;
173 bool webrequest_other_; 173 bool webrequest_other_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher); 175 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher);
176 }; 176 };
177 177
178 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 178 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_extension.h ('k') | chrome/renderer/extensions/extension_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698