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

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

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too 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/WebSharedWorkerImpl.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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 class UserGestureToken; 68 class UserGestureToken;
69 } 69 }
70 70
71 namespace blink { 71 namespace blink {
72 class GeolocationClientProxy; 72 class GeolocationClientProxy;
73 class LinkHighlight; 73 class LinkHighlight;
74 class PopupContainer; 74 class PopupContainer;
75 class UserMediaClientImpl; 75 class UserMediaClientImpl;
76 class WebActiveGestureAnimation; 76 class WebActiveGestureAnimation;
77 class WebDevToolsAgentPrivate; 77 class WebDevToolsAgentPrivate;
78 class WebFrameImpl; 78 class WebLocalFrameImpl;
79 class WebImage; 79 class WebImage;
80 class WebPagePopupImpl; 80 class WebPagePopupImpl;
81 class WebPlugin; 81 class WebPlugin;
82 class WebSettingsImpl; 82 class WebSettingsImpl;
83 class FullscreenController; 83 class FullscreenController;
84 84
85 class WebViewImpl FINAL : public WebView 85 class WebViewImpl FINAL : public WebView
86 , public RefCounted<WebViewImpl> 86 , public RefCounted<WebViewImpl>
87 , public WebGestureCurveTarget 87 , public WebGestureCurveTarget
88 , public WebCore::PagePopupDriver 88 , public WebCore::PagePopupDriver
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 // Returns the page object associated with this view. This may be null when 312 // Returns the page object associated with this view. This may be null when
313 // the page is shutting down, but will be valid at all other times. 313 // the page is shutting down, but will be valid at all other times.
314 WebCore::Page* page() const 314 WebCore::Page* page() const
315 { 315 {
316 return m_page.get(); 316 return m_page.get();
317 } 317 }
318 318
319 // Returns the main frame associated with this view. This may be null when 319 // Returns the main frame associated with this view. This may be null when
320 // the page is shutting down, but will be valid at all other times. 320 // the page is shutting down, but will be valid at all other times.
321 WebFrameImpl* mainFrameImpl(); 321 WebLocalFrameImpl* mainFrameImpl();
322 322
323 // Event related methods: 323 // Event related methods:
324 void mouseContextMenu(const WebMouseEvent&); 324 void mouseContextMenu(const WebMouseEvent&);
325 void mouseDoubleClick(const WebMouseEvent&); 325 void mouseDoubleClick(const WebMouseEvent&);
326 326
327 bool detectContentOnTouch(const WebPoint&); 327 bool detectContentOnTouch(const WebPoint&);
328 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u seAnchor, float newScale, double durationInSeconds); 328 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u seAnchor, float newScale, double durationInSeconds);
329 329
330 void numberOfWheelEventHandlersChanged(unsigned); 330 void numberOfWheelEventHandlersChanged(unsigned);
331 void hasTouchEventHandlers(bool); 331 void hasTouchEventHandlers(bool);
(...skipping 13 matching lines...) Expand all
345 // will be true if a new session history item should be created for that 345 // will be true if a new session history item should be created for that
346 // load. isNavigationWithinPage will be true if the navigation does 346 // load. isNavigationWithinPage will be true if the navigation does
347 // not take the user away from the current page. 347 // not take the user away from the current page.
348 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage); 348 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage);
349 349
350 // Indicates two things: 350 // Indicates two things:
351 // 1) This view may have a new layout now. 351 // 1) This view may have a new layout now.
352 // 2) Calling layout() is a no-op. 352 // 2) Calling layout() is a no-op.
353 // After calling WebWidget::layout(), expect to get this notification 353 // After calling WebWidget::layout(), expect to get this notification
354 // unless the view did not need a layout. 354 // unless the view did not need a layout.
355 void layoutUpdated(WebFrameImpl*); 355 void layoutUpdated(WebLocalFrameImpl*);
356 356
357 void willInsertBody(WebFrameImpl*); 357 void willInsertBody(WebLocalFrameImpl*);
358 void didChangeContentsSize(); 358 void didChangeContentsSize();
359 void deviceOrPageScaleFactorChanged(); 359 void deviceOrPageScaleFactorChanged();
360 360
361 // Returns true if popup menus should be rendered by the browser, false if 361 // Returns true if popup menus should be rendered by the browser, false if
362 // they should be rendered by WebKit (which is the default). 362 // they should be rendered by WebKit (which is the default).
363 static bool useExternalPopupMenus(); 363 static bool useExternalPopupMenus();
364 364
365 bool contextMenuAllowed() const 365 bool contextMenuAllowed() const
366 { 366 {
367 return m_contextMenuAllowed; 367 return m_contextMenuAllowed;
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 bool m_userGestureObserved; 727 bool m_userGestureObserved;
728 }; 728 };
729 729
730 // We have no ways to check if the specified WebView is an instance of 730 // We have no ways to check if the specified WebView is an instance of
731 // WebViewImpl because WebViewImpl is the only implementation of WebView. 731 // WebViewImpl because WebViewImpl is the only implementation of WebView.
732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
733 733
734 } // namespace blink 734 } // namespace blink
735 735
736 #endif 736 #endif
OLDNEW
« no previous file with comments | « Source/web/WebSharedWorkerImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698