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

Side by Side Diff: content/child/npapi/webplugin_delegate_impl_gtk.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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) 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 "content/child/npapi/webplugin_delegate_impl.h" 5 #include "content/child/npapi/webplugin_delegate_impl.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gdk/gdkx.h> 8 #include <gdk/gdkx.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/metrics/stats_counters.h" 13 #include "base/metrics/stats_counters.h"
14 #include "content/child/npapi/plugin_instance.h" 14 #include "content/child/npapi/plugin_instance.h"
15 #include "content/child/npapi/webplugin.h" 15 #include "content/child/npapi/webplugin.h"
16 #include "content/public/common/content_constants.h" 16 #include "content/public/common/content_constants.h"
17 #include "skia/ext/platform_canvas.h" 17 #include "skia/ext/platform_canvas.h"
18 #include "third_party/WebKit/public/web/WebInputEvent.h" 18 #include "third_party/WebKit/public/web/WebInputEvent.h"
19 #include "ui/gfx/blit.h" 19 #include "ui/gfx/blit.h"
20 #include "ui/gfx/gtk_compat.h" 20 #include "ui/gfx/gtk_compat.h"
21 #include "webkit/common/cursors/webcursor.h" 21 #include "webkit/common/cursors/webcursor.h"
22 22
23 #include "third_party/npapi/bindings/npapi_x11.h" 23 #include "third_party/npapi/bindings/npapi_x11.h"
24 24
25 using WebKit::WebKeyboardEvent; 25 using blink::WebKeyboardEvent;
26 using WebKit::WebInputEvent; 26 using blink::WebInputEvent;
27 using WebKit::WebMouseEvent; 27 using blink::WebMouseEvent;
28 28
29 namespace content { 29 namespace content {
30 30
31 WebPluginDelegateImpl::WebPluginDelegateImpl( 31 WebPluginDelegateImpl::WebPluginDelegateImpl(
32 WebPlugin* plugin, 32 WebPlugin* plugin,
33 PluginInstance* instance) 33 PluginInstance* instance)
34 : windowed_handle_(0), 34 : windowed_handle_(0),
35 windowed_did_set_window_(false), 35 windowed_did_set_window_(false),
36 windowless_(false), 36 windowless_(false),
37 plugin_(plugin), 37 plugin_(plugin),
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 // it. There is a nasty race condition here with the multiprocess browser 742 // it. There is a nasty race condition here with the multiprocess browser
743 // as someone might be setting the cursor in the main process as well. 743 // as someone might be setting the cursor in the main process as well.
744 *cursor = current_windowless_cursor_; 744 *cursor = current_windowless_cursor_;
745 } 745 }
746 #endif 746 #endif
747 747
748 return ret; 748 return ret;
749 } 749 }
750 750
751 } // namespace content 751 } // namespace content
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_aura.cc ('k') | content/child/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698