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

Side by Side Diff: chrome/renderer/blocked_plugin.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_BLOCKED_PLUGIN_H_ 5 #ifndef CHROME_RENDERER_BLOCKED_PLUGIN_H_
6 #define CHROME_RENDERER_BLOCKED_PLUGIN_H_ 6 #define CHROME_RENDERER_BLOCKED_PLUGIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/renderer/render_view_observer.h" 9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h"
(...skipping 12 matching lines...) Expand all
23 const WebPreferences& settings, 23 const WebPreferences& settings,
24 int template_id, 24 int template_id,
25 const string16& name, 25 const string16& name,
26 const string16& message, 26 const string16& message,
27 bool is_blocked_for_prerendering, 27 bool is_blocked_for_prerendering,
28 bool allow_loading); 28 bool allow_loading);
29 29
30 webkit::npapi::WebViewPlugin* plugin() { return plugin_; } 30 webkit::npapi::WebViewPlugin* plugin() { return plugin_; }
31 31
32 // WebViewPlugin::Delegate methods: 32 // WebViewPlugin::Delegate methods:
33 virtual void BindWebFrame(WebKit::WebFrame* frame); 33 virtual void BindWebFrame(WebKit::WebFrame* frame) OVERRIDE;
34 virtual void WillDestroyPlugin(); 34 virtual void WillDestroyPlugin() OVERRIDE;
35 virtual void ShowContextMenu(const WebKit::WebMouseEvent&); 35 virtual void ShowContextMenu(const WebKit::WebMouseEvent&) OVERRIDE;
36 36
37 private: 37 private:
38 virtual ~BlockedPlugin(); 38 virtual ~BlockedPlugin();
39 39
40 // RenderViewObserver methods: 40 // RenderViewObserver methods:
41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
42 virtual void ContextMenuAction(unsigned id) OVERRIDE; 42 virtual void ContextMenuAction(unsigned id) OVERRIDE;
43 43
44 void OnLoadBlockedPlugins(); 44 void OnLoadBlockedPlugins();
45 void OnSetIsPrerendering(bool is_prerendering); 45 void OnSetIsPrerendering(bool is_prerendering);
(...skipping 24 matching lines...) Expand all
70 // The name of the plugin that was blocked. 70 // The name of the plugin that was blocked.
71 string16 name_; 71 string16 name_;
72 // True iff the plugin was blocked because the page was being prerendered. 72 // True iff the plugin was blocked because the page was being prerendered.
73 // Plugin will automatically be loaded when the page is displayed. 73 // Plugin will automatically be loaded when the page is displayed.
74 bool is_blocked_for_prerendering_; 74 bool is_blocked_for_prerendering_;
75 bool hidden_; 75 bool hidden_;
76 bool allow_loading_; 76 bool allow_loading_;
77 }; 77 };
78 78
79 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ 79 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/password_autofill_manager.h ('k') | chrome/renderer/chrome_mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698