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

Side by Side Diff: chrome/default_plugin/plugin_impl_gtk.h

Issue 3089004: Mac: Some clang appeasing. (Closed)
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « chrome/browser/net/gaia/token_service.cc ('k') | chrome/default_plugin/plugin_impl_mac.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) 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_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ 5 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_
6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // state of the plugin installer. 155 // state of the plugin installer.
156 void set_plugin_installer_state(PluginInstallerState new_state) { 156 void set_plugin_installer_state(PluginInstallerState new_state) {
157 plugin_installer_state_ = new_state; 157 plugin_installer_state_ = new_state;
158 } 158 }
159 159
160 PluginInstallerState plugin_installer_state() const { 160 PluginInstallerState plugin_installer_state() const {
161 return plugin_installer_state_; 161 return plugin_installer_state_;
162 } 162 }
163 163
164 // Getter for the NPP instance member. 164 // Getter for the NPP instance member.
165 const NPP instance() const { 165 NPP instance() const {
166 return instance_; 166 return instance_;
167 } 167 }
168 168
169 // Returns whether or not the UI layout is right-to-left (such as Hebrew or 169 // Returns whether or not the UI layout is right-to-left (such as Hebrew or
170 // Arabic). 170 // Arabic).
171 bool IsRTLLayout() const; 171 bool IsRTLLayout() const;
172 172
173 protected: 173 protected:
174 // Displays the plugin install confirmation dialog. 174 // Displays the plugin install confirmation dialog.
175 void ShowInstallDialog(); 175 void ShowInstallDialog();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 std::string mime_type_; 275 std::string mime_type_;
276 // The current state of the plugin installer. 276 // The current state of the plugin installer.
277 PluginInstallerState plugin_installer_state_; 277 PluginInstallerState plugin_installer_state_;
278 // GtkPlug containing everything in the plugin. 278 // GtkPlug containing everything in the plugin.
279 GtkWidget* container_; 279 GtkWidget* container_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); 281 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl);
282 }; 282 };
283 283
284 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ 284 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/gaia/token_service.cc ('k') | chrome/default_plugin/plugin_impl_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698