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

Side by Side Diff: components/plugins/renderer/plugin_placeholder.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
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 #ifndef COMPONENTS_PLUGINS_RENDERER_PLUGIN_PLACEHOLDER_H_ 5 #ifndef COMPONENTS_PLUGINS_RENDERER_PLUGIN_PLACEHOLDER_H_
6 #define COMPONENTS_PLUGINS_RENDERER_PLUGIN_PLACEHOLDER_H_ 6 #define COMPONENTS_PLUGINS_RENDERER_PLUGIN_PLACEHOLDER_H_
7 7
8 #include "components/plugins/renderer/webview_plugin.h" 8 #include "components/plugins/renderer/webview_plugin.h"
9 #include "content/public/common/webplugininfo.h" 9 #include "content/public/common/webplugininfo.h"
10 #include "content/public/renderer/context_menu_client.h" 10 #include "content/public/renderer/context_menu_client.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void ReplacePlugin(blink::WebPlugin* new_plugin); 61 void ReplacePlugin(blink::WebPlugin* new_plugin);
62 62
63 // Hide this placeholder. 63 // Hide this placeholder.
64 void HidePlugin(); 64 void HidePlugin();
65 65
66 // Load the blocked plugin. 66 // Load the blocked plugin.
67 void LoadPlugin(); 67 void LoadPlugin();
68 68
69 // gin::Wrappable method: 69 // gin::Wrappable method:
70 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 70 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
71 v8::Isolate* isolate) OVERRIDE; 71 v8::Isolate* isolate) override;
72 72
73 private: 73 private:
74 // WebViewPlugin::Delegate methods: 74 // WebViewPlugin::Delegate methods:
75 virtual void ShowContextMenu(const blink::WebMouseEvent&) OVERRIDE; 75 virtual void ShowContextMenu(const blink::WebMouseEvent&) override;
76 virtual void PluginDestroyed() OVERRIDE; 76 virtual void PluginDestroyed() override;
77 77
78 // RenderFrameObserver methods: 78 // RenderFrameObserver methods:
79 virtual void OnDestruct() OVERRIDE; 79 virtual void OnDestruct() override;
80 80
81 // Javascript callbacks: 81 // Javascript callbacks:
82 82
83 // Load the blocked plugin by calling LoadPlugin(). 83 // Load the blocked plugin by calling LoadPlugin().
84 void LoadCallback(); 84 void LoadCallback();
85 85
86 // Hide the blocked plugin by calling HidePlugin(). 86 // Hide the blocked plugin by calling HidePlugin().
87 void HideCallback(); 87 void HideCallback();
88 88
89 void DidFinishLoadingCallback(); 89 void DidFinishLoadingCallback();
(...skipping 16 matching lines...) Expand all
106 bool hidden_; 106 bool hidden_;
107 bool finished_loading_; 107 bool finished_loading_;
108 std::string identifier_; 108 std::string identifier_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(PluginPlaceholder); 110 DISALLOW_COPY_AND_ASSIGN(PluginPlaceholder);
111 }; 111 };
112 112
113 } // namespace plugins 113 } // namespace plugins
114 114
115 #endif // COMPONENTS_PLUGINS_RENDERER_PLUGIN_PLACEHOLDER_H_ 115 #endif // COMPONENTS_PLUGINS_RENDERER_PLUGIN_PLACEHOLDER_H_
OLDNEW
« no previous file with comments | « components/plugins/renderer/mobile_youtube_plugin.h ('k') | components/policy/core/browser/autofill_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698