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

Side by Side Diff: Source/WebKit/chromium/public/WebFrameClient.h

Issue 8714006: Add autoresize capability for Chromium. (Closed) Base URL: http://git.chromium.org/external/WebKit_trimmed.git@master
Patch Set: Created 9 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // This frame has been detached from the view. 105 // This frame has been detached from the view.
106 // 106 //
107 // FIXME: Do not use this in new code. Currently this is used by code in 107 // FIXME: Do not use this in new code. Currently this is used by code in
108 // Chromium that errantly caches WebKit objects. 108 // Chromium that errantly caches WebKit objects.
109 virtual void frameDetached(WebFrame*) { } 109 virtual void frameDetached(WebFrame*) { }
110 110
111 // This frame is about to be closed. 111 // This frame is about to be closed.
112 virtual void willClose(WebFrame*) { } 112 virtual void willClose(WebFrame*) { }
113 113
114 // Indicates two things:
115 // 1) This frame may have a new layout now.
116 // 2) Calling layout() is a no-op.
117 // After calling WebWidget::layout(), expect to get this notification
118 // for each frame unless the frame did not need a layout.
119 virtual void didUpdateLayout(WebFrame*) { }
120
121 // Load commands ------------------------------------------------------- 114 // Load commands -------------------------------------------------------
122 115
123 // The client should handle the navigation externally. 116 // The client should handle the navigation externally.
124 virtual void loadURLExternally( 117 virtual void loadURLExternally(
125 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } 118 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { }
126 virtual void loadURLExternally( 119 virtual void loadURLExternally(
127 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d ownloadName) { } 120 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d ownloadName) { }
128 121
129 122
130 // Navigational queries ------------------------------------------------ 123 // Navigational queries ------------------------------------------------
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // the WebFrame starting the activity. 385 // the WebFrame starting the activity.
393 virtual void dispatchIntent(WebFrame*, const WebIntent&) { } 386 virtual void dispatchIntent(WebFrame*, const WebIntent&) { }
394 387
395 protected: 388 protected:
396 ~WebFrameClient() { } 389 ~WebFrameClient() { }
397 }; 390 };
398 391
399 } // namespace WebKit 392 } // namespace WebKit
400 393
401 #endif 394 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698