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

Side by Side Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 1161563002: Remove unused in-process pepper APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/proxy/resource_creation_proxy.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) 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 "ppapi/proxy/ppb_instance_proxy.h" 5 #include "ppapi/proxy/ppb_instance_proxy.h"
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/numerics/safe_conversions.h" 8 #include "base/numerics/safe_conversions.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 uint32_t event_classes) { 478 uint32_t event_classes) {
479 dispatcher()->Send(new PpapiHostMsg_PPBInstance_ClearInputEvents( 479 dispatcher()->Send(new PpapiHostMsg_PPBInstance_ClearInputEvents(
480 API_ID_PPB_INSTANCE, instance, event_classes)); 480 API_ID_PPB_INSTANCE, instance, event_classes));
481 } 481 }
482 482
483 void PPB_Instance_Proxy::StartTrackingLatency(PP_Instance instance) { 483 void PPB_Instance_Proxy::StartTrackingLatency(PP_Instance instance) {
484 dispatcher()->Send(new PpapiHostMsg_PPBInstance_StartTrackingLatency( 484 dispatcher()->Send(new PpapiHostMsg_PPBInstance_StartTrackingLatency(
485 API_ID_PPB_INSTANCE, instance)); 485 API_ID_PPB_INSTANCE, instance));
486 } 486 }
487 487
488 void PPB_Instance_Proxy::ZoomChanged(PP_Instance instance,
489 double factor) {
490 // Not proxied yet.
491 NOTIMPLEMENTED();
492 }
493
494 void PPB_Instance_Proxy::ZoomLimitsChanged(PP_Instance instance,
495 double minimum_factor,
496 double maximium_factor) {
497 // Not proxied yet.
498 NOTIMPLEMENTED();
499 }
500
501 PP_Var PPB_Instance_Proxy::GetDocumentURL(PP_Instance instance, 488 PP_Var PPB_Instance_Proxy::GetDocumentURL(PP_Instance instance,
502 PP_URLComponents_Dev* components) { 489 PP_URLComponents_Dev* components) {
503 ReceiveSerializedVarReturnValue result; 490 ReceiveSerializedVarReturnValue result;
504 PP_URLComponents_Dev url_components = {{0}}; 491 PP_URLComponents_Dev url_components = {{0}};
505 dispatcher()->Send(new PpapiHostMsg_PPBInstance_GetDocumentURL( 492 dispatcher()->Send(new PpapiHostMsg_PPBInstance_GetDocumentURL(
506 API_ID_PPB_INSTANCE, instance, &url_components, &result)); 493 API_ID_PPB_INSTANCE, instance, &url_components, &result));
507 if (components) 494 if (components)
508 *components = url_components; 495 *components = url_components;
509 return result.Return(dispatcher()); 496 return result.Return(dispatcher());
510 } 497 }
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 PP_Instance instance) { 1477 PP_Instance instance) {
1491 InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> 1478 InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())->
1492 GetInstanceData(instance); 1479 GetInstanceData(instance);
1493 if (!data) 1480 if (!data)
1494 return; // Instance was probably deleted. 1481 return; // Instance was probably deleted.
1495 data->should_do_request_surrounding_text = false; 1482 data->should_do_request_surrounding_text = false;
1496 } 1483 }
1497 1484
1498 } // namespace proxy 1485 } // namespace proxy
1499 } // namespace ppapi 1486 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698