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

Side by Side Diff: Source/core/platform/graphics/GraphicsLayer.h

Issue 18083034: Don't set scroll client for main frame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address jamesr review Created 7 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 static bool supportsBackgroundColorContent() 419 static bool supportsBackgroundColorContent()
420 { 420 {
421 return false; 421 return false;
422 } 422 }
423 423
424 void setLinkHighlight(LinkHighlightClient*); 424 void setLinkHighlight(LinkHighlightClient*);
425 // Exposed for tests 425 // Exposed for tests
426 LinkHighlightClient* linkHighlight() { return m_linkHighlight; } 426 LinkHighlightClient* linkHighlight() { return m_linkHighlight; }
427 427
428 void setScrollableArea(ScrollableArea* scrollableArea) { m_scrollableArea = scrollableArea; } 428 void setScrollableArea(ScrollableArea*, bool isMainFrame);
429 ScrollableArea* scrollableArea() const { return m_scrollableArea; } 429 ScrollableArea* scrollableArea() const { return m_scrollableArea; }
430 430
431 WebKit::WebContentLayer* contentLayer() const { return m_layer.get(); } 431 WebKit::WebContentLayer* contentLayer() const { return m_layer.get(); }
432 432
433 // Exposed for tests. FIXME - name is too similar to contentLayer(), very er ror prone. 433 // Exposed for tests. FIXME - name is too similar to contentLayer(), very er ror prone.
434 WebKit::WebLayer* contentsLayer() const { return m_contentsLayer; } 434 WebKit::WebLayer* contentsLayer() const { return m_contentsLayer; }
435 435
436 void updateDebugIndicators(); 436 void updateDebugIndicators();
437 437
438 void reportMemoryUsage(MemoryObjectInfo*) const; 438 void reportMemoryUsage(MemoryObjectInfo*) const;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 572
573 573
574 } // namespace WebCore 574 } // namespace WebCore
575 575
576 #ifndef NDEBUG 576 #ifndef NDEBUG
577 // Outside the WebCore namespace for ease of invocation from gdb. 577 // Outside the WebCore namespace for ease of invocation from gdb.
578 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); 578 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer);
579 #endif 579 #endif
580 580
581 #endif // GraphicsLayer_h 581 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698