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

Side by Side Diff: webkit/port/platform/WidgetClientWin.h

Issue 1813: fix build issue on Linux with GCC 4.1.2... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « webkit/port/history/BackForwardList.h ('k') | no next file » | 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 WidgetClientWin_H__ 5 #ifndef WidgetClientWin_H__
6 #define WidgetClientWin_H__ 6 #define WidgetClientWin_H__
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 #include "WidgetClient.h" 9 #include "WidgetClient.h"
10 10
11 class SkBitmap; 11 class SkBitmap;
12 12
13 namespace WebCore { 13 namespace WebCore {
14 14
15 class Cursor; 15 class Cursor;
16 class IntRect; 16 class IntRect;
17 class Range; 17 class Range;
18 18
19 // Generic interface for features needed by the Widget. 19 // Generic interface for features needed by the Widget.
20 class WidgetClientWin : public WidgetClient { 20 class WidgetClientWin : public WidgetClient {
21 public: 21 public:
22 virtual ~WidgetClientWin() {}
23
22 // Returns the containing window for the Widget. 24 // Returns the containing window for the Widget.
23 // TODO(pinkerton): this needs a better name, "window" is incorrect on other 25 // TODO(pinkerton): this needs a better name, "window" is incorrect on other
24 // platforms. 26 // platforms.
25 virtual gfx::ViewHandle containingWindow() = 0; 27 virtual gfx::ViewHandle containingWindow() = 0;
26 28
27 // Invalidate a region of the widget's containing window. 29 // Invalidate a region of the widget's containing window.
28 virtual void invalidateRect(const IntRect& damagedRect) = 0; 30 virtual void invalidateRect(const IntRect& damagedRect) = 0;
29 31
30 // Scroll the region of the widget's containing window within the given 32 // Scroll the region of the widget's containing window within the given
31 // clipRect by the specified dx and dy. 33 // clipRect by the specified dx and dy.
(...skipping 30 matching lines...) Expand all
62 // frame does not have an active tickmark (for example if the active 64 // frame does not have an active tickmark (for example if the active
63 // tickmark resides in another frame) this function returns kNoTickmark. 65 // tickmark resides in another frame) this function returns kNoTickmark.
64 static const size_t kNoTickmark = -1; 66 static const size_t kNoTickmark = -1;
65 virtual size_t getActiveTickmarkIndex(WebCore::Frame* frame) = 0; 67 virtual size_t getActiveTickmarkIndex(WebCore::Frame* frame) = 0;
66 }; 68 };
67 69
68 } // namespace WebCore 70 } // namespace WebCore
69 71
70 #endif // WidgetClientWin_H__ 72 #endif // WidgetClientWin_H__
71 73
OLDNEW
« no previous file with comments | « webkit/port/history/BackForwardList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698