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

Side by Side Diff: content/renderer/pepper/fullscreen_container.h

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 #ifndef CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_
7 7
8 namespace WebKit { 8 namespace blink {
9 class WebLayer; 9 class WebLayer;
10 struct WebCursorInfo; 10 struct WebCursorInfo;
11 struct WebRect; 11 struct WebRect;
12 } // namespace WebKit 12 } // namespace blink
13 13
14 namespace content { 14 namespace content {
15 15
16 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI 16 // This class is like a lightweight WebPluginContainer for fullscreen PPAPI
17 // plugins, that only handles painting. 17 // plugins, that only handles painting.
18 class FullscreenContainer { 18 class FullscreenContainer {
19 public: 19 public:
20 // Invalidates the full plugin region. 20 // Invalidates the full plugin region.
21 virtual void Invalidate() = 0; 21 virtual void Invalidate() = 0;
22 22
23 // Invalidates a partial region of the plugin. 23 // Invalidates a partial region of the plugin.
24 virtual void InvalidateRect(const WebKit::WebRect&) = 0; 24 virtual void InvalidateRect(const blink::WebRect&) = 0;
25 25
26 // Scrolls a partial region of the plugin in the given direction. 26 // Scrolls a partial region of the plugin in the given direction.
27 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0; 27 virtual void ScrollRect(int dx, int dy, const blink::WebRect&) = 0;
28 28
29 // Destroys the fullscreen window. This also destroys the FullscreenContainer 29 // Destroys the fullscreen window. This also destroys the FullscreenContainer
30 // instance. 30 // instance.
31 virtual void Destroy() = 0; 31 virtual void Destroy() = 0;
32 32
33 // Notifies the container that the mouse cursor has changed. 33 // Notifies the container that the mouse cursor has changed.
34 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0; 34 virtual void DidChangeCursor(const blink::WebCursorInfo& cursor) = 0;
35 35
36 virtual void SetLayer(WebKit::WebLayer* layer) = 0; 36 virtual void SetLayer(blink::WebLayer* layer) = 0;
37 37
38 protected: 38 protected:
39 virtual ~FullscreenContainer() {} 39 virtual ~FullscreenContainer() {}
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_ 44 #endif // CONTENT_RENDERER_PEPPER_PPB_FULLSCREEN_CONTAINER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/pepper/host_array_buffer_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698