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

Side by Side Diff: webkit/port/platform/chromium/WidgetClientChromium.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
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/webkit/port/platform/WidgetClientWin.h:r69-2775
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 WidgetClientChromium_H__
6 #define WidgetClientWin_H__ 6 #define WidgetClientChromium_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 WidgetClientChromium : public WidgetClient {
21 public: 21 public:
22 virtual ~WidgetClientWin() {} 22 virtual ~WidgetClientChromium() {}
23 23
24 // Returns the containing window for the Widget. 24 // Returns the containing window for the Widget.
25 // 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
26 // platforms. 26 // platforms.
27 virtual gfx::ViewHandle containingWindow() = 0; 27 virtual gfx::ViewHandle containingWindow() = 0;
28 28
29 // Invalidate a region of the widget's containing window. 29 // Invalidate a region of the widget's containing window.
30 virtual void invalidateRect(const IntRect& damagedRect) = 0; 30 virtual void invalidateRect(const IntRect& damagedRect) = 0;
31 31
32 // 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
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // tickmark resides in another frame) this function returns kNoTickmark. 65 // tickmark resides in another frame) this function returns kNoTickmark.
66 static const size_t kNoTickmark = -1; 66 static const size_t kNoTickmark = -1;
67 virtual size_t getActiveTickmarkIndex(WebCore::Frame* frame) = 0; 67 virtual size_t getActiveTickmarkIndex(WebCore::Frame* frame) = 0;
68 68
69 // Returns true if this widget is hidden because it's in a background tab. 69 // Returns true if this widget is hidden because it's in a background tab.
70 virtual bool isHidden() = 0; 70 virtual bool isHidden() = 0;
71 }; 71 };
72 72
73 } // namespace WebCore 73 } // namespace WebCore
74 74
75 #endif // WidgetClientWin_H__ 75 #endif // WidgetClientChromium_H__
OLDNEW
« no previous file with comments | « webkit/port/platform/chromium/WidgetChromium.cpp ('k') | webkit/port/platform/network/AuthenticationChallenge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698