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

Side by Side Diff: Source/web/ScrollbarGroup.h

Issue 260353003: isActiveFocus() is a more meaningful name (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/web/ScrollbarGroup.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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void scrollbarCreated(WebPluginScrollbarImpl*); 46 void scrollbarCreated(WebPluginScrollbarImpl*);
47 void scrollbarDestroyed(WebPluginScrollbarImpl*); 47 void scrollbarDestroyed(WebPluginScrollbarImpl*);
48 void setLastMousePosition(const WebCore::IntPoint&); 48 void setLastMousePosition(const WebCore::IntPoint&);
49 void setFrameRect(const WebCore::IntRect&); 49 void setFrameRect(const WebCore::IntRect&);
50 50
51 // WebCore::ScrollableArea methods 51 // WebCore::ScrollableArea methods
52 virtual int scrollSize(WebCore::ScrollbarOrientation) const OVERRIDE; 52 virtual int scrollSize(WebCore::ScrollbarOrientation) const OVERRIDE;
53 virtual void setScrollOffset(const WebCore::IntPoint&) OVERRIDE; 53 virtual void setScrollOffset(const WebCore::IntPoint&) OVERRIDE;
54 virtual void invalidateScrollbarRect(WebCore::Scrollbar*, const WebCore::Int Rect&) OVERRIDE; 54 virtual void invalidateScrollbarRect(WebCore::Scrollbar*, const WebCore::Int Rect&) OVERRIDE;
55 virtual void invalidateScrollCornerRect(const WebCore::IntRect&) OVERRIDE; 55 virtual void invalidateScrollCornerRect(const WebCore::IntRect&) OVERRIDE;
56 virtual bool isActive() const OVERRIDE; 56 virtual bool isActiveFocus() const OVERRIDE;
57 virtual WebCore::IntRect scrollCornerRect() const OVERRIDE { return WebCore: :IntRect(); } 57 virtual WebCore::IntRect scrollCornerRect() const OVERRIDE { return WebCore: :IntRect(); }
58 virtual bool isScrollCornerVisible() const OVERRIDE; 58 virtual bool isScrollCornerVisible() const OVERRIDE;
59 virtual void getTickmarks(Vector<WebCore::IntRect>&) const OVERRIDE; 59 virtual void getTickmarks(Vector<WebCore::IntRect>&) const OVERRIDE;
60 virtual WebCore::IntPoint convertFromContainingViewToScrollbar(const WebCore ::Scrollbar*, const WebCore::IntPoint& parentPoint) const OVERRIDE; 60 virtual WebCore::IntPoint convertFromContainingViewToScrollbar(const WebCore ::Scrollbar*, const WebCore::IntPoint& parentPoint) const OVERRIDE;
61 virtual WebCore::Scrollbar* horizontalScrollbar() const OVERRIDE; 61 virtual WebCore::Scrollbar* horizontalScrollbar() const OVERRIDE;
62 virtual WebCore::Scrollbar* verticalScrollbar() const OVERRIDE; 62 virtual WebCore::Scrollbar* verticalScrollbar() const OVERRIDE;
63 virtual WebCore::IntPoint scrollPosition() const OVERRIDE; 63 virtual WebCore::IntPoint scrollPosition() const OVERRIDE;
64 virtual WebCore::IntPoint minimumScrollPosition() const OVERRIDE; 64 virtual WebCore::IntPoint minimumScrollPosition() const OVERRIDE;
65 virtual WebCore::IntPoint maximumScrollPosition() const OVERRIDE; 65 virtual WebCore::IntPoint maximumScrollPosition() const OVERRIDE;
66 virtual int visibleHeight() const OVERRIDE; 66 virtual int visibleHeight() const OVERRIDE;
(...skipping 13 matching lines...) Expand all
80 WebCore::FrameView* m_frameView; 80 WebCore::FrameView* m_frameView;
81 WebCore::IntPoint m_lastMousePosition; 81 WebCore::IntPoint m_lastMousePosition;
82 WebCore::IntRect m_frameRect; 82 WebCore::IntRect m_frameRect;
83 WebPluginScrollbarImpl* m_horizontalScrollbar; 83 WebPluginScrollbarImpl* m_horizontalScrollbar;
84 WebPluginScrollbarImpl* m_verticalScrollbar; 84 WebPluginScrollbarImpl* m_verticalScrollbar;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif 89 #endif
OLDNEW
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/web/ScrollbarGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698