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

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

Issue 2863913002: Change AudioOutputDeviceClientImpl to use WebLocalFrameBase and move to modules. (Closed)
Patch Set: Use chrome client to create instances of WebLocalFrameBase. Created 3 years, 7 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
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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 void SetFindEndstateFocusAndSelection(); 384 void SetFindEndstateFocusAndSelection();
385 385
386 void DidFail(const ResourceError&, bool was_provisional, HistoryCommitType); 386 void DidFail(const ResourceError&, bool was_provisional, HistoryCommitType);
387 void DidFinish(); 387 void DidFinish();
388 388
389 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. 389 // Sets whether the WebLocalFrameImpl allows its document to be scrolled.
390 // If the parameter is true, allow the document to be scrolled. 390 // If the parameter is true, allow the document to be scrolled.
391 // Otherwise, disallow scrolling. 391 // Otherwise, disallow scrolling.
392 void SetCanHaveScrollbars(bool) override; 392 void SetCanHaveScrollbars(bool) override;
393 393
394 WebFrameClient* Client() const { return client_; } 394 WebFrameClient* Client() const override { return client_; }
395 void SetClient(WebFrameClient* client) { client_ = client; } 395 void SetClient(WebFrameClient* client) { client_ = client; }
396 396
397 ContentSettingsClient& GetContentSettingsClient() { 397 ContentSettingsClient& GetContentSettingsClient() {
398 return content_settings_client_; 398 return content_settings_client_;
399 } 399 }
400 400
401 SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() const { 401 SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() const {
402 return shared_worker_repository_client_.get(); 402 return shared_worker_repository_client_.get();
403 } 403 }
404 404
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 519
520 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 520 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
521 WebFrame, 521 WebFrame,
522 frame, 522 frame,
523 frame->IsWebLocalFrame(), 523 frame->IsWebLocalFrame(),
524 frame.IsWebLocalFrame()); 524 frame.IsWebLocalFrame());
525 525
526 } // namespace blink 526 } // namespace blink
527 527
528 #endif 528 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698