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

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

Issue 14307012: webkit: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/message_channel.cc ('k') | webkit/plugins/ppapi/ppb_graphics_2d_impl.cc » ('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 "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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 const GURL& plugin_url) 344 const GURL& plugin_url)
345 : delegate_(delegate), 345 : delegate_(delegate),
346 module_(module), 346 module_(module),
347 instance_interface_(instance_interface), 347 instance_interface_(instance_interface),
348 pp_instance_(0), 348 pp_instance_(0),
349 container_(container), 349 container_(container),
350 layer_bound_to_fullscreen_(false), 350 layer_bound_to_fullscreen_(false),
351 plugin_url_(plugin_url), 351 plugin_url_(plugin_url),
352 full_frame_(false), 352 full_frame_(false),
353 sent_initial_did_change_view_(false), 353 sent_initial_did_change_view_(false),
354 view_change_weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)), 354 view_change_weak_ptr_factory_(this),
355 bound_graphics_2d_platform_(NULL), 355 bound_graphics_2d_platform_(NULL),
356 has_webkit_focus_(false), 356 has_webkit_focus_(false),
357 has_content_area_focus_(false), 357 has_content_area_focus_(false),
358 find_identifier_(-1), 358 find_identifier_(-1),
359 plugin_find_interface_(NULL), 359 plugin_find_interface_(NULL),
360 plugin_input_event_interface_(NULL), 360 plugin_input_event_interface_(NULL),
361 plugin_messaging_interface_(NULL), 361 plugin_messaging_interface_(NULL),
362 plugin_mouse_lock_interface_(NULL), 362 plugin_mouse_lock_interface_(NULL),
363 plugin_pdf_interface_(NULL), 363 plugin_pdf_interface_(NULL),
364 plugin_private_interface_(NULL), 364 plugin_private_interface_(NULL),
(...skipping 2147 matching lines...) Expand 10 before | Expand all | Expand 10 after
2512 screen_size_for_fullscreen_ = gfx::Size(); 2512 screen_size_for_fullscreen_ = gfx::Size();
2513 WebElement element = container_->element(); 2513 WebElement element = container_->element();
2514 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); 2514 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_);
2515 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); 2515 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_);
2516 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); 2516 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_);
2517 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); 2517 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_);
2518 } 2518 }
2519 2519
2520 } // namespace ppapi 2520 } // namespace ppapi
2521 } // namespace webkit 2521 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/message_channel.cc ('k') | webkit/plugins/ppapi/ppb_graphics_2d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698