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

Side by Side Diff: webkit/plugins/npapi/webplugin_delegate_impl_mac.mm

Issue 7812020: Moved the following IPC messages used by the chrome NPAPI plugin installer out of content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 #import <QuartzCore/QuartzCore.h> 6 #import <QuartzCore/QuartzCore.h>
7 7
8 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 8 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 // shortcuts is not ideal. 633 // shortcuts is not ideal.
634 // TODO(stuartmorgan): Implement the advanced key handling spec, and trust 634 // TODO(stuartmorgan): Implement the advanced key handling spec, and trust
635 // trust the key event return value from plugins that implement it. 635 // trust the key event return value from plugins that implement it.
636 if (!(event.modifiers & WebInputEvent::MetaKey)) 636 if (!(event.modifiers & WebInputEvent::MetaKey))
637 handled = true; 637 handled = true;
638 } 638 }
639 639
640 return handled; 640 return handled;
641 } 641 }
642 642
643 void WebPluginDelegateImpl::InstallMissingPlugin() {
644 NOTIMPLEMENTED();
645 }
646
647 #pragma mark - 643 #pragma mark -
648 644
649 void WebPluginDelegateImpl::WindowlessUpdateGeometry( 645 void WebPluginDelegateImpl::WindowlessUpdateGeometry(
650 const gfx::Rect& window_rect, 646 const gfx::Rect& window_rect,
651 const gfx::Rect& clip_rect) { 647 const gfx::Rect& clip_rect) {
652 gfx::Rect old_clip_rect = clip_rect_; 648 gfx::Rect old_clip_rect = clip_rect_;
653 cached_clip_rect_ = clip_rect; 649 cached_clip_rect_ = clip_rect;
654 if (container_is_visible_) // Remove check when cached_clip_rect_ is removed. 650 if (container_is_visible_) // Remove check when cached_clip_rect_ is removed.
655 clip_rect_ = clip_rect; 651 clip_rect_ = clip_rect;
656 bool clip_rect_changed = (clip_rect_ != old_clip_rect); 652 bool clip_rect_changed = (clip_rect_ != old_clip_rect);
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 qd_manager_->SetFastPathEnabled(enabled); 1208 qd_manager_->SetFastPathEnabled(enabled);
1213 qd_port_.port = qd_manager_->port(); 1209 qd_port_.port = qd_manager_->port();
1214 WindowlessSetWindow(); 1210 WindowlessSetWindow();
1215 // Send a paint event so that the new buffer gets updated immediately. 1211 // Send a paint event so that the new buffer gets updated immediately.
1216 WindowlessPaint(buffer_context_, clip_rect_); 1212 WindowlessPaint(buffer_context_, clip_rect_);
1217 } 1213 }
1218 #endif // !NP_NO_QUICKDRAW 1214 #endif // !NP_NO_QUICKDRAW
1219 1215
1220 } // namespace npapi 1216 } // namespace npapi
1221 } // namespace webkit 1217 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc ('k') | webkit/plugins/npapi/webplugin_delegate_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698