| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 28 matching lines...) Expand all Loading... |
| 39 #include "WebHistoryCommitType.h" | 39 #include "WebHistoryCommitType.h" |
| 40 #include "WebHistoryItem.h" | 40 #include "WebHistoryItem.h" |
| 41 #include "WebIconURL.h" | 41 #include "WebIconURL.h" |
| 42 #include "WebNavigationPolicy.h" | 42 #include "WebNavigationPolicy.h" |
| 43 #include "WebNavigationType.h" | 43 #include "WebNavigationType.h" |
| 44 #include "WebSecurityOrigin.h" | 44 #include "WebSecurityOrigin.h" |
| 45 #include "WebTextDirection.h" | 45 #include "WebTextDirection.h" |
| 46 #include "public/platform/WebCommon.h" | 46 #include "public/platform/WebCommon.h" |
| 47 #include "public/platform/WebFileSystem.h" | 47 #include "public/platform/WebFileSystem.h" |
| 48 #include "public/platform/WebFileSystemType.h" | 48 #include "public/platform/WebFileSystemType.h" |
| 49 #include "public/platform/WebManifestError.h" |
| 49 #include "public/platform/WebStorageQuotaCallbacks.h" | 50 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 50 #include "public/platform/WebStorageQuotaType.h" | 51 #include "public/platform/WebStorageQuotaType.h" |
| 51 #include "public/platform/WebURLError.h" | 52 #include "public/platform/WebURLError.h" |
| 52 #include "public/platform/WebURLRequest.h" | 53 #include "public/platform/WebURLRequest.h" |
| 53 #include <v8.h> | 54 #include <v8.h> |
| 54 | 55 |
| 55 namespace blink { | 56 namespace blink { |
| 56 | 57 |
| 57 class WebApplicationCacheHost; | 58 class WebApplicationCacheHost; |
| 58 class WebApplicationCacheHostClient; | 59 class WebApplicationCacheHostClient; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 85 class WebSocketStreamHandle; | 86 class WebSocketStreamHandle; |
| 86 class WebString; | 87 class WebString; |
| 87 class WebURL; | 88 class WebURL; |
| 88 class WebURLLoader; | 89 class WebURLLoader; |
| 89 class WebURLResponse; | 90 class WebURLResponse; |
| 90 class WebUserMediaClient; | 91 class WebUserMediaClient; |
| 91 class WebWorkerPermissionClientProxy; | 92 class WebWorkerPermissionClientProxy; |
| 92 struct WebColorSuggestion; | 93 struct WebColorSuggestion; |
| 93 struct WebConsoleMessage; | 94 struct WebConsoleMessage; |
| 94 struct WebContextMenuData; | 95 struct WebContextMenuData; |
| 96 struct WebManifest; |
| 95 struct WebPluginParams; | 97 struct WebPluginParams; |
| 96 struct WebPopupMenuInfo; | 98 struct WebPopupMenuInfo; |
| 97 struct WebRect; | 99 struct WebRect; |
| 98 struct WebSize; | 100 struct WebSize; |
| 99 struct WebURLError; | 101 struct WebURLError; |
| 100 | 102 |
| 101 class WebFrameClient { | 103 class WebFrameClient { |
| 102 public: | 104 public: |
| 103 // Factory methods ----------------------------------------------------- | 105 // Factory methods ----------------------------------------------------- |
| 104 | 106 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 // The navigation resulted in no change to the documents within the page. | 294 // The navigation resulted in no change to the documents within the page. |
| 293 // For example, the navigation may have just resulted in scrolling to a | 295 // For example, the navigation may have just resulted in scrolling to a |
| 294 // named anchor or a PopState event may have been dispatched. | 296 // named anchor or a PopState event may have been dispatched. |
| 295 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We
bHistoryCommitType) { } | 297 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We
bHistoryCommitType) { } |
| 296 | 298 |
| 297 // Called upon update to scroll position, document state, and other | 299 // Called upon update to scroll position, document state, and other |
| 298 // non-navigational events related to the data held by WebHistoryItem. | 300 // non-navigational events related to the data held by WebHistoryItem. |
| 299 // WARNING: This method may be called very frequently. | 301 // WARNING: This method may be called very frequently. |
| 300 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } | 302 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } |
| 301 | 303 |
| 302 // The frame's manifest has changed. | |
| 303 virtual void didChangeManifest(WebLocalFrame*) { } | |
| 304 | |
| 305 // The frame's theme color has changed. | 304 // The frame's theme color has changed. |
| 306 virtual void didChangeThemeColor() { } | 305 virtual void didChangeThemeColor() { } |
| 307 | 306 |
| 308 | 307 |
| 308 // Web Manifest --------------------------------------------------------- |
| 309 |
| 310 // The frame's manifest has changed. |
| 311 virtual void didChangeManifest(WebLocalFrame*) { } |
| 312 |
| 313 // The frame's manifest has been loaded successfully. |
| 314 virtual void didLoadManifest(WebLocalFrame*, const WebManifest&) { } |
| 315 |
| 316 // The frame's manifest loading has failed. |
| 317 virtual void didFailLoadManifest(WebLocalFrame*, WebManifestError) { } |
| 318 |
| 319 |
| 309 // Transition navigations ----------------------------------------------- | 320 // Transition navigations ----------------------------------------------- |
| 310 | 321 |
| 311 // Provides serialized markup of transition elements for use in the followin
g navigation. | 322 // Provides serialized markup of transition elements for use in the followin
g navigation. |
| 312 virtual void addNavigationTransitionData(const WebString& allowedDestination
Origin, const WebString& selector, const WebString& markup) { } | 323 virtual void addNavigationTransitionData(const WebString& allowedDestination
Origin, const WebString& selector, const WebString& markup) { } |
| 313 | 324 |
| 314 | 325 |
| 315 // Web Notifications --------------------------------------------------- | 326 // Web Notifications --------------------------------------------------- |
| 316 | 327 |
| 317 // Requests permission to display platform notifications on the origin of th
is frame. | 328 // Requests permission to display platform notifications on the origin of th
is frame. |
| 318 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } | 329 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 // Notifies embedder about an accessibility event. | 577 // Notifies embedder about an accessibility event. |
| 567 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } | 578 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
| 568 | 579 |
| 569 protected: | 580 protected: |
| 570 virtual ~WebFrameClient() { } | 581 virtual ~WebFrameClient() { } |
| 571 }; | 582 }; |
| 572 | 583 |
| 573 } // namespace blink | 584 } // namespace blink |
| 574 | 585 |
| 575 #endif | 586 #endif |
| OLD | NEW |