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

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

Issue 6335008: Fix Linux breakage of context menu items for the blocked plugin placeholder.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/blocked_plugin.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/render_view_observer.h" 9 #include "chrome/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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void Hide(const CppArgumentList& args, CppVariant* result); 59 void Hide(const CppArgumentList& args, CppVariant* result);
60 60
61 // Hide the blocked plugin. 61 // Hide the blocked plugin.
62 void HidePlugin(); 62 void HidePlugin();
63 63
64 WebKit::WebFrame* frame_; 64 WebKit::WebFrame* frame_;
65 WebKit::WebPluginParams plugin_params_; 65 WebKit::WebPluginParams plugin_params_;
66 webkit::npapi::WebViewPlugin* plugin_; 66 webkit::npapi::WebViewPlugin* plugin_;
67 // The name of the plugin that was blocked. 67 // The name of the plugin that was blocked.
68 string16 name_; 68 string16 name_;
69 // True iff we're showing a custom menu.
70 bool custom_menu_showing_;
71 }; 69 };
72 70
73 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ 71 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/blocked_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698