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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 305
306 // When a Find operation ends, we want to set the selection to what was acti ve 306 // When a Find operation ends, we want to set the selection to what was acti ve
307 // and set focus to the first focusable node we find (starting with the firs t 307 // and set focus to the first focusable node we find (starting with the firs t
308 // node in the matched range and going up the inheritance chain). If we find 308 // node in the matched range and going up the inheritance chain). If we find
309 // nothing to focus we focus the first focusable node in the range. This 309 // nothing to focus we focus the first focusable node in the range. This
310 // allows us to set focus to a link (when we find text inside a link), which 310 // allows us to set focus to a link (when we find text inside a link), which
311 // allows us to navigate by pressing Enter after closing the Find box. 311 // allows us to navigate by pressing Enter after closing the Find box.
312 void setFindEndstateFocusAndSelection(); 312 void setFindEndstateFocusAndSelection();
313 313
314 void didFail(const ResourceError&, bool wasProvisional, HistoryCommitType); 314 void didFail(const ResourceError&, bool wasProvisional, HistoryCommitType);
315 void didFinish();
315 316
316 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. 317 // Sets whether the WebLocalFrameImpl allows its document to be scrolled.
317 // If the parameter is true, allow the document to be scrolled. 318 // If the parameter is true, allow the document to be scrolled.
318 // Otherwise, disallow scrolling. 319 // Otherwise, disallow scrolling.
319 void setCanHaveScrollbars(bool) override; 320 void setCanHaveScrollbars(bool) override;
320 321
321 LocalFrame* frame() const { return m_frame.get(); } 322 LocalFrame* frame() const { return m_frame.get(); }
322 WebFrameClient* client() const { return m_client; } 323 WebFrameClient* client() const { return m_client; }
323 void setClient(WebFrameClient* client) { m_client = client; } 324 void setClient(WebFrameClient* client) { m_client = client; }
324 325
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // cleared upon close(). 403 // cleared upon close().
403 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 404 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
404 #endif 405 #endif
405 }; 406 };
406 407
407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 408 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
408 409
409 } // namespace blink 410 } // namespace blink
410 411
411 #endif 412 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698