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

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

Issue 7419: Move many files that were suffixed Win.cpp to Chromium.cpp, and place them in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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/glue/webview_impl.h ('k') | webkit/port/bridge/FrameWin.h » ('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/gfx/native_widget_types.h" 9 #include "base/gfx/native_widget_types.h"
10 #include "base/gfx/point.h" 10 #include "base/gfx/point.h"
11 #include "base/gfx/size.h" 11 #include "base/gfx/size.h"
12 #include "webkit/glue/webwidget.h" 12 #include "webkit/glue/webwidget.h"
13 13
14 #pragma warning(push, 0) 14 #pragma warning(push, 0)
15 #include "WidgetClientWin.h" 15 #include "WidgetClientChromium.h"
16 #pragma warning(pop) 16 #pragma warning(pop)
17 17
18 namespace WebCore { 18 namespace WebCore {
19 class Frame; 19 class Frame;
20 class FramelessScrollView; 20 class FramelessScrollView;
21 class KeyboardEvent; 21 class KeyboardEvent;
22 class Page; 22 class Page;
23 class PlatformKeyboardEvent; 23 class PlatformKeyboardEvent;
24 class Range; 24 class Range;
25 class Widget; 25 class Widget;
26 } 26 }
27 27
28 class WebKeyboardEvent; 28 class WebKeyboardEvent;
29 class WebMouseEvent; 29 class WebMouseEvent;
30 class WebMouseWheelEvent; 30 class WebMouseWheelEvent;
31 class WebWidgetDelegate; 31 class WebWidgetDelegate;
32 32
33 class WebWidgetImpl : public WebWidget, public WebCore::WidgetClientWin { 33 class WebWidgetImpl : public WebWidget, public WebCore::WidgetClientChromium {
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(gfx::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);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // This is a non-owning ref. The popup will notify us via popupClosed() 95 // This is a non-owning ref. The popup will notify us via popupClosed()
96 // before it is destroyed. 96 // before it is destroyed.
97 WebCore::FramelessScrollView* widget_; 97 WebCore::FramelessScrollView* widget_;
98 98
99 private: 99 private:
100 DISALLOW_EVIL_CONSTRUCTORS(WebWidgetImpl); 100 DISALLOW_EVIL_CONSTRUCTORS(WebWidgetImpl);
101 }; 101 };
102 102
103 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 103 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__
104 104
OLDNEW
« no previous file with comments | « webkit/glue/webview_impl.h ('k') | webkit/port/bridge/FrameWin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698