Changeset 85615 in webkit


Ignore:
Timestamp:
May 3, 2011 10:11:29 AM (13 years ago)
Author:
weinig@apple.com
Message:

Prune #includes from FrameView.h (Part 1)
https://bugs.webkit.org/show_bug.cgi?id=59957

Reviewed by Anders Carlsson.

  • page/FrameView.h:

Prune #includes.

  • accessibility/chromium/AXObjectCacheChromium.cpp:
  • page/win/FrameCGWin.cpp:
  • platform/Scrollbar.cpp:

Add not necessary #includes.

  • platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:

Add now necessary forward declaration.

Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85606 r85615  
     12011-05-03  Sam Weinig  <sam@webkit.org>
     2
     3        Reviewed by Anders Carlsson.
     4
     5        Prune #includes from FrameView.h (Part 1)
     6        https://bugs.webkit.org/show_bug.cgi?id=59957
     7
     8        * page/FrameView.h:
     9        Prune #includes.
     10
     11        * accessibility/chromium/AXObjectCacheChromium.cpp:
     12        * page/win/FrameCGWin.cpp:
     13        * platform/Scrollbar.cpp:
     14        Add not necessary #includes.
     15
     16        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
     17        Add now necessary forward declaration.
     18
    1192011-05-03  Andrey Kosyakov  <caseq@chromium.org>
    220
  • trunk/Source/WebCore/accessibility/chromium/AXObjectCacheChromium.cpp

    r83049 r85615  
    2727#include "config.h"
    2828#include "AXObjectCache.h"
     29
    2930#include "AccessibilityObject.h"
    3031#include "AccessibilityScrollbar.h"
     
    3233#include "ChromeClient.h"
    3334#include "FrameView.h"
     35#include "RenderObject.h"
    3436#include "Scrollbar.h"
    3537
  • trunk/Source/WebCore/page/FrameView.h

    r85116 r85615  
    2727
    2828#include "Frame.h"
    29 #include "IntSize.h"
    3029#include "Page.h"
    31 #include "RenderObject.h" // For PaintBehavior
     30#include "PaintPhase.h"
    3231#include "ScrollView.h"
    3332#include <wtf/Forward.h>
     
    3938class Event;
    4039class FrameActionScheduler;
    41 class FrameViewPrivate;
    4240class IntRect;
    4341class Node;
    44 class PlatformMouseEvent;
    4542class RenderLayer;
    4643class RenderObject;
    4744class RenderEmbeddedObject;
    4845class RenderScrollbarPart;
    49 
    50 template <typename T> class Timer;
    5146
    5247class FrameView : public ScrollView {
  • trunk/Source/WebCore/page/win/FrameCGWin.cpp

    r74734 r85615  
    3232#include "FrameView.h"
    3333#include "GraphicsContextCG.h"
     34#include "RenderObject.h"
    3435#include "Settings.h"
    3536
  • trunk/Source/WebCore/platform/Scrollbar.cpp

    r84921 r85615  
    2727#include "Scrollbar.h"
    2828
    29 #include "AXObjectCache.h"
    30 #include "AccessibilityScrollbar.h"
    31 #include "EventHandler.h"
    32 #include "Frame.h"
    33 #include "FrameView.h"
    3429#include "GraphicsContext.h"
    3530#include "PlatformMouseEvent.h"
     
    3732#include "ScrollableArea.h"
    3833#include "ScrollbarTheme.h"
    39 
    4034#include <algorithm>
     35
     36// FIXME: The following #includes are a layering violation and should be removed.
     37#include "AXObjectCache.h"
     38#include "AccessibilityScrollbar.h"
     39#include "Document.h"
     40#include "EventHandler.h"
     41#include "Frame.h"
     42#include "FrameView.h"
    4143
    4244using namespace std;
     
    476478        return 0;
    477479   
     480    // FIXME: Accessing the FrameView and Document here is a layering violation
     481    // and should be removed.
    478482    Document* document = static_cast<FrameView*>(parent())->frame()->document();
    479483    return document->axObjectCache();
  • trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h

    r85518 r85615  
    4747typedef struct objc_object *id;
    4848#endif
     49
     50typedef struct CGImage *CGImageRef;
    4951
    5052namespace WebCore {
Note: See TracChangeset for help on using the changeset viewer.