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

Side by Side Diff: webkit/glue/webwidget_impl.h

Issue 14110: Move the "platform" wrappers in skia/ext to the skia namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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/glue/webwidget.h ('k') | webkit/glue/webwidget_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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 5 #ifndef WEBKIT_GLUE_WEBWIDGET_IMPL_H__
6 #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 6 #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 19 matching lines...) Expand all
30 class WebWidgetDelegate; 30 class WebWidgetDelegate;
31 31
32 class WebWidgetImpl : public WebWidget, 32 class WebWidgetImpl : public WebWidget,
33 public WebCore::FramelessScrollViewClient { 33 public WebCore::FramelessScrollViewClient {
34 public: 34 public:
35 // WebWidget 35 // WebWidget
36 virtual void Close(); 36 virtual void Close();
37 virtual void Resize(const gfx::Size& new_size); 37 virtual void Resize(const gfx::Size& new_size);
38 virtual gfx::Size GetSize() { return size(); } 38 virtual gfx::Size GetSize() { return size(); }
39 virtual void Layout(); 39 virtual void Layout();
40 virtual void Paint(gfx::PlatformCanvas* canvas, const gfx::Rect& rect); 40 virtual void Paint(skia::PlatformCanvas* canvas, const gfx::Rect& rect);
41 virtual bool HandleInputEvent(const WebInputEvent* input_event); 41 virtual bool HandleInputEvent(const WebInputEvent* input_event);
42 virtual void MouseCaptureLost(); 42 virtual void MouseCaptureLost();
43 virtual void SetFocus(bool enable); 43 virtual void SetFocus(bool enable);
44 virtual bool ImeSetComposition(int string_type, 44 virtual bool ImeSetComposition(int string_type,
45 int cursor_position, 45 int cursor_position,
46 int target_start, 46 int target_start,
47 int target_end, 47 int target_end,
48 const std::wstring& ime_string); 48 const std::wstring& ime_string);
49 virtual bool ImeUpdateStatus(bool* enable_ime, 49 virtual bool ImeUpdateStatus(bool* enable_ime,
50 const void** node, 50 const void** node,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // This is a non-owning ref. The popup will notify us via popupClosed() 104 // This is a non-owning ref. The popup will notify us via popupClosed()
105 // before it is destroyed. 105 // before it is destroyed.
106 WebCore::FramelessScrollView* widget_; 106 WebCore::FramelessScrollView* widget_;
107 107
108 private: 108 private:
109 DISALLOW_EVIL_CONSTRUCTORS(WebWidgetImpl); 109 DISALLOW_EVIL_CONSTRUCTORS(WebWidgetImpl);
110 }; 110 };
111 111
112 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 112 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__
113 113
OLDNEW
« no previous file with comments | « webkit/glue/webwidget.h ('k') | webkit/glue/webwidget_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698