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

Side by Side Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 5 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 2131 matching lines...) Expand 10 before | Expand all | Expand 10 after
2142 switch (id) { 2142 switch (id) {
2143 case ::ppapi::BROKER_SINGLETON_ID: 2143 case ::ppapi::BROKER_SINGLETON_ID:
2144 case ::ppapi::BROWSER_FONT_SINGLETON_ID: 2144 case ::ppapi::BROWSER_FONT_SINGLETON_ID:
2145 case ::ppapi::EXTENSIONS_COMMON_SINGLETON_ID: 2145 case ::ppapi::EXTENSIONS_COMMON_SINGLETON_ID:
2146 case ::ppapi::FLASH_CLIPBOARD_SINGLETON_ID: 2146 case ::ppapi::FLASH_CLIPBOARD_SINGLETON_ID:
2147 case ::ppapi::FLASH_FILE_SINGLETON_ID: 2147 case ::ppapi::FLASH_FILE_SINGLETON_ID:
2148 case ::ppapi::FLASH_FULLSCREEN_SINGLETON_ID: 2148 case ::ppapi::FLASH_FULLSCREEN_SINGLETON_ID:
2149 case ::ppapi::FLASH_SINGLETON_ID: 2149 case ::ppapi::FLASH_SINGLETON_ID:
2150 case ::ppapi::PDF_SINGLETON_ID: 2150 case ::ppapi::PDF_SINGLETON_ID:
2151 case ::ppapi::TRUETYPE_FONT_SINGLETON_ID: 2151 case ::ppapi::TRUETYPE_FONT_SINGLETON_ID:
2152 case ::ppapi::CRX_FILESYSTEM_SINGLETON_ID:
yzshen1 2013/05/02 23:22:01 alphabetically, please.
victorhsieh 2013/05/03 17:26:58 Done.
2152 NOTIMPLEMENTED(); 2153 NOTIMPLEMENTED();
2153 return NULL; 2154 return NULL;
2154 case ::ppapi::GAMEPAD_SINGLETON_ID: 2155 case ::ppapi::GAMEPAD_SINGLETON_ID:
2155 return gamepad_impl_; 2156 return gamepad_impl_;
2156 } 2157 }
2157 2158
2158 NOTREACHED(); 2159 NOTREACHED();
2159 return NULL; 2160 return NULL;
2160 } 2161 }
2161 2162
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
2512 screen_size_for_fullscreen_ = gfx::Size(); 2513 screen_size_for_fullscreen_ = gfx::Size();
2513 WebElement element = container_->element(); 2514 WebElement element = container_->element();
2514 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); 2515 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_);
2515 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); 2516 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_);
2516 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); 2517 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_);
2517 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); 2518 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_);
2518 } 2519 }
2519 2520
2520 } // namespace ppapi 2521 } // namespace ppapi
2521 } // namespace webkit 2522 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698