~jconti/ubuntu/oneiric/webkit/fix_doc_path

« back to all changes in this revision

Viewing changes to WebCore/page/FocusController.h

  • Committer: Bazaar Package Importer
  • Author(s): Mike Hommey
  • Date: 2008-09-27 08:57:48 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080927085748-yhzld00w0rekp961
Tags: 1.0.1-4
WebCore/dom/Document.*, WebCore/loader/DocLoader.*: Avoid DoS via
crafted CSS import statements. Fixes: CVE-2008-3632. Closes: #499771.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        Frame* focusedFrame() const { return m_focusedFrame.get(); }
46
46
        Frame* focusedOrMainFrame();
47
47
 
48
 
        bool setInitialFocus(KeyboardEvent*);
49
 
        bool advanceFocus(KeyboardEvent*);
 
48
        bool setInitialFocus(FocusDirection, KeyboardEvent*);
50
49
        bool advanceFocus(FocusDirection, KeyboardEvent*, bool initialFocus = false);
51
50
        
52
51
        bool setFocusedNode(Node*, PassRefPtr<Frame>);
53
52
 
 
53
        void setActive(bool);
 
54
        bool isActive() const { return m_isActive; }
 
55
 
54
56
    private:
55
57
        Page* m_page;
56
58
        RefPtr<Frame> m_focusedFrame;
 
59
        bool m_isActive;
57
60
    };
58
61
 
59
62
} // namespace WebCore