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

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 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 // When a Find operation ends, we want to set the selection to what was acti ve 311 // When a Find operation ends, we want to set the selection to what was acti ve
312 // and set focus to the first focusable node we find (starting with the firs t 312 // and set focus to the first focusable node we find (starting with the firs t
313 // node in the matched range and going up the inheritance chain). If we find 313 // node in the matched range and going up the inheritance chain). If we find
314 // nothing to focus we focus the first focusable node in the range. This 314 // nothing to focus we focus the first focusable node in the range. This
315 // allows us to set focus to a link (when we find text inside a link), which 315 // allows us to set focus to a link (when we find text inside a link), which
316 // allows us to navigate by pressing Enter after closing the Find box. 316 // allows us to navigate by pressing Enter after closing the Find box.
317 void setFindEndstateFocusAndSelection(); 317 void setFindEndstateFocusAndSelection();
318 318
319 void didFail(const ResourceError&, bool wasProvisional, HistoryCommitType); 319 void didFail(const ResourceError&, bool wasProvisional, HistoryCommitType);
320 void didFinish();
320 321
321 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. 322 // Sets whether the WebLocalFrameImpl allows its document to be scrolled.
322 // If the parameter is true, allow the document to be scrolled. 323 // If the parameter is true, allow the document to be scrolled.
323 // Otherwise, disallow scrolling. 324 // Otherwise, disallow scrolling.
324 void setCanHaveScrollbars(bool) override; 325 void setCanHaveScrollbars(bool) override;
325 326
326 WebFrameClient* client() const { return m_client; } 327 WebFrameClient* client() const { return m_client; }
327 void setClient(WebFrameClient* client) { m_client = client; } 328 void setClient(WebFrameClient* client) { m_client = client; }
328 329
329 WebContentSettingsClient* contentSettingsClient() { return m_contentSettings Client; } 330 WebContentSettingsClient* contentSettingsClient() { return m_contentSettings Client; }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // cleared upon close(). 408 // cleared upon close().
408 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 409 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
409 #endif 410 #endif
410 }; 411 };
411 412
412 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 413 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
413 414
414 } // namespace blink 415 } // namespace blink
415 416
416 #endif 417 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698