Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 230 // Tells the plugin that the user has stopped the find operation. | 230 // Tells the plugin that the user has stopped the find operation. |
| 231 virtual void stopFind() {} | 231 virtual void stopFind() {} |
| 232 | 232 |
| 233 // View rotation types. | 233 // View rotation types. |
| 234 enum RotationType { RotationType90Clockwise, RotationType90Counterclockwise }; | 234 enum RotationType { RotationType90Clockwise, RotationType90Counterclockwise }; |
| 235 // Whether the plugin can rotate the view of its content. | 235 // Whether the plugin can rotate the view of its content. |
| 236 virtual bool canRotateView() { return false; } | 236 virtual bool canRotateView() { return false; } |
| 237 // Rotates the plugin's view of its content. | 237 // Rotates the plugin's view of its content. |
| 238 virtual void rotateView(RotationType type) {} | 238 virtual void rotateView(RotationType type) {} |
| 239 | 239 |
| 240 virtual bool isPlaceholder() { return true; } | 240 virtual bool isPlaceholder() { return false; } |
|
Bernhard Bauer
2017/03/28 10:55:59
I don't think you need to change the default imple
George Joseph
2017/03/30 08:41:44
Done.
| |
| 241 | 241 |
| 242 protected: | 242 protected: |
| 243 ~WebPlugin() {} | 243 ~WebPlugin() {} |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 } // namespace blink | 246 } // namespace blink |
| 247 | 247 |
| 248 #endif | 248 #endif |
| OLD | NEW |