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

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

Issue 219903002: Revert 170347 "Convert HTMLFrameOwnerElement and FocusController..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1917/
Patch Set: Created 6 years, 8 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 | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebViewImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "public/platform/WebPoint.h" 57 #include "public/platform/WebPoint.h"
58 #include "public/platform/WebRect.h" 58 #include "public/platform/WebRect.h"
59 #include "public/platform/WebSize.h" 59 #include "public/platform/WebSize.h"
60 #include "public/platform/WebString.h" 60 #include "public/platform/WebString.h"
61 #include "wtf/OwnPtr.h" 61 #include "wtf/OwnPtr.h"
62 #include "wtf/RefCounted.h" 62 #include "wtf/RefCounted.h"
63 #include "wtf/Vector.h" 63 #include "wtf/Vector.h"
64 64
65 namespace WebCore { 65 namespace WebCore {
66 class DataObject; 66 class DataObject;
67 class Frame; 67 class Color;
68 class LocalFrame;
68 class GraphicsLayerFactory; 69 class GraphicsLayerFactory;
69 class HistoryItem; 70 class HistoryItem;
70 class HitTestResult; 71 class HitTestResult;
71 class KeyboardEvent; 72 class KeyboardEvent;
72 class Page; 73 class Page;
73 class PagePopup; 74 class PagePopup;
74 class PagePopupClient; 75 class PagePopupClient;
75 class PlatformKeyboardEvent; 76 class PlatformKeyboardEvent;
76 class PopupMenuClient; 77 class PopupMenuClient;
77 class RenderLayerCompositor; 78 class RenderLayerCompositor;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 306
306 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } 307 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); }
307 308
308 void setOverlayLayer(WebCore::GraphicsLayer*); 309 void setOverlayLayer(WebCore::GraphicsLayer*);
309 310
310 const WebPoint& lastMouseDownPoint() const 311 const WebPoint& lastMouseDownPoint() const
311 { 312 {
312 return m_lastMouseDownPoint; 313 return m_lastMouseDownPoint;
313 } 314 }
314 315
315 WebCore::Frame* focusedWebCoreFrame() const; 316 WebCore::LocalFrame* focusedWebCoreFrame() const;
316 317
317 // Returns the currently focused Element or null if no element has focus. 318 // Returns the currently focused Element or null if no element has focus.
318 WebCore::Element* focusedElement() const; 319 WebCore::Element* focusedElement() const;
319 320
320 static WebViewImpl* fromPage(WebCore::Page*); 321 static WebViewImpl* fromPage(WebCore::Page*);
321 322
322 WebViewClient* client() 323 WebViewClient* client()
323 { 324 {
324 return m_client; 325 return m_client;
325 } 326 }
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 float m_zoomFactorOverride; 768 float m_zoomFactorOverride;
768 }; 769 };
769 770
770 // We have no ways to check if the specified WebView is an instance of 771 // We have no ways to check if the specified WebView is an instance of
771 // WebViewImpl because WebViewImpl is the only implementation of WebView. 772 // WebViewImpl because WebViewImpl is the only implementation of WebView.
772 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 773 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
773 774
774 } // namespace blink 775 } // namespace blink
775 776
776 #endif 777 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698