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

Side by Side Diff: public/web/WebPlugin.h

Issue 1358123002: Remove shouldPersist from WebPlugin.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 enum RotationType { 171 enum RotationType {
172 RotationType90Clockwise, 172 RotationType90Clockwise,
173 RotationType90Counterclockwise 173 RotationType90Counterclockwise
174 }; 174 };
175 // Whether the plugin can rotate the view of its content. 175 // Whether the plugin can rotate the view of its content.
176 virtual bool canRotateView() { return false; } 176 virtual bool canRotateView() { return false; }
177 // Rotates the plugin's view of its content. 177 // Rotates the plugin's view of its content.
178 virtual void rotateView(RotationType type) { } 178 virtual void rotateView(RotationType type) { }
179 179
180 virtual bool isPlaceholder() { return true; } 180 virtual bool isPlaceholder() { return true; }
181 virtual bool shouldPersist() const { return false; }
182 181
183 protected: 182 protected:
184 ~WebPlugin() { } 183 ~WebPlugin() { }
185 }; 184 };
186 185
187 } // namespace blink 186 } // namespace blink
188 187
189 #endif 188 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698