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

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

Issue 16819002: PPAPI: Introduce PPB_NetworkProxy_Dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 6 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 | « webkit/plugins/ppapi/plugin_module.cc ('k') | 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 // 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 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2205 // Flash APIs and some others aren't implemented in-process. 2205 // Flash APIs and some others aren't implemented in-process.
2206 switch (id) { 2206 switch (id) {
2207 case ::ppapi::BROKER_SINGLETON_ID: 2207 case ::ppapi::BROKER_SINGLETON_ID:
2208 case ::ppapi::BROWSER_FONT_SINGLETON_ID: 2208 case ::ppapi::BROWSER_FONT_SINGLETON_ID:
2209 case ::ppapi::CRX_FILESYSTEM_SINGLETON_ID: 2209 case ::ppapi::CRX_FILESYSTEM_SINGLETON_ID:
2210 case ::ppapi::EXTENSIONS_COMMON_SINGLETON_ID: 2210 case ::ppapi::EXTENSIONS_COMMON_SINGLETON_ID:
2211 case ::ppapi::FLASH_CLIPBOARD_SINGLETON_ID: 2211 case ::ppapi::FLASH_CLIPBOARD_SINGLETON_ID:
2212 case ::ppapi::FLASH_FILE_SINGLETON_ID: 2212 case ::ppapi::FLASH_FILE_SINGLETON_ID:
2213 case ::ppapi::FLASH_FULLSCREEN_SINGLETON_ID: 2213 case ::ppapi::FLASH_FULLSCREEN_SINGLETON_ID:
2214 case ::ppapi::FLASH_SINGLETON_ID: 2214 case ::ppapi::FLASH_SINGLETON_ID:
2215 case ::ppapi::NETWORK_PROXY_SINGLETON_ID:
2215 case ::ppapi::PDF_SINGLETON_ID: 2216 case ::ppapi::PDF_SINGLETON_ID:
2216 case ::ppapi::TRUETYPE_FONT_SINGLETON_ID: 2217 case ::ppapi::TRUETYPE_FONT_SINGLETON_ID:
2217 NOTIMPLEMENTED(); 2218 NOTIMPLEMENTED();
2218 return NULL; 2219 return NULL;
2219 case ::ppapi::GAMEPAD_SINGLETON_ID: 2220 case ::ppapi::GAMEPAD_SINGLETON_ID:
2220 return gamepad_impl_.get(); 2221 return gamepad_impl_.get();
2221 } 2222 }
2222 2223
2223 NOTREACHED(); 2224 NOTREACHED();
2224 return NULL; 2225 return NULL;
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 screen_size_for_fullscreen_ = gfx::Size(); 2592 screen_size_for_fullscreen_ = gfx::Size();
2592 WebElement element = container_->element(); 2593 WebElement element = container_->element();
2593 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); 2594 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_);
2594 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); 2595 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_);
2595 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); 2596 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_);
2596 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); 2597 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_);
2597 } 2598 }
2598 2599
2599 } // namespace ppapi 2600 } // namespace ppapi
2600 } // namespace webkit 2601 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698