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

Side by Side Diff: third_party/WebKit/WebCore/platform/chromium/FramelessScrollView.cpp

Issue 17339: Fix for the painting problem with drop down scroll bar (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.cpp » ('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) 2008, Google Inc. 1 // Copyright (c) 2008, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 bool FramelessScrollView::isActive() const 52 bool FramelessScrollView::isActive() const
53 { 53 {
54 // FIXME 54 // FIXME
55 return true; 55 return true;
56 } 56 }
57 57
58 void FramelessScrollView::invalidateRect(const IntRect& rect) 58 void FramelessScrollView::invalidateRect(const IntRect& rect)
59 { 59 {
60 if (HostWindow* h = hostWindow()) 60 if (HostWindow* h = hostWindow())
61 h->repaint(contentsToWindow(rect), true); 61 h->repaint(rect, true);
62 } 62 }
63 63
64 HostWindow* FramelessScrollView::hostWindow() const 64 HostWindow* FramelessScrollView::hostWindow() const
65 { 65 {
66 return const_cast<FramelessScrollViewClient*>(m_client); 66 return const_cast<FramelessScrollViewClient*>(m_client);
67 } 67 }
68 68
69 IntRect FramelessScrollView::windowClipRect(bool clipToContents) const 69 IntRect FramelessScrollView::windowClipRect(bool clipToContents) const
70 { 70 {
71 return contentsToWindow(visibleContentRect(!clipToContents)); 71 return contentsToWindow(visibleContentRect(!clipToContents));
72 } 72 }
73 73
74 void FramelessScrollView::paintContents(GraphicsContext*, const IntRect& damageR ect) 74 void FramelessScrollView::paintContents(GraphicsContext*, const IntRect& damageR ect)
75 { 75 {
76 } 76 }
77 77
78 void FramelessScrollView::contentsResized() 78 void FramelessScrollView::contentsResized()
79 { 79 {
80 } 80 }
81 81
82 void FramelessScrollView::visibleContentsResized() 82 void FramelessScrollView::visibleContentsResized()
83 { 83 {
84 } 84 }
85 85
86 } 86 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698