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

Side by Side Diff: content/renderer/render_widget.cc

Issue 1345343003: Remove lots of old blur plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 5 years, 2 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
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/shell/browser/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1523 // NOTE: initial_rect_ may still have its default values at this point, but 1523 // NOTE: initial_rect_ may still have its default values at this point, but
1524 // that's okay. It'll be ignored if as_popup is false, or the browser 1524 // that's okay. It'll be ignored if as_popup is false, or the browser
1525 // process will impose a default position otherwise. 1525 // process will impose a default position otherwise.
1526 Send(new ViewHostMsg_ShowWidget(opener_id_, routing_id_, initial_rect_)); 1526 Send(new ViewHostMsg_ShowWidget(opener_id_, routing_id_, initial_rect_));
1527 SetPendingWindowRect(initial_rect_); 1527 SetPendingWindowRect(initial_rect_);
1528 } 1528 }
1529 1529
1530 void RenderWidget::didFocus() { 1530 void RenderWidget::didFocus() {
1531 } 1531 }
1532 1532
1533 void RenderWidget::didBlur() {
1534 }
1535
1536 void RenderWidget::DoDeferredClose() { 1533 void RenderWidget::DoDeferredClose() {
1537 WillCloseLayerTreeView(); 1534 WillCloseLayerTreeView();
1538 Send(new ViewHostMsg_Close(routing_id_)); 1535 Send(new ViewHostMsg_Close(routing_id_));
1539 } 1536 }
1540 1537
1541 void RenderWidget::NotifyOnClose() { 1538 void RenderWidget::NotifyOnClose() {
1542 FOR_EACH_OBSERVER(RenderFrameImpl, render_frames_, WidgetWillClose()); 1539 FOR_EACH_OBSERVER(RenderFrameImpl, render_frames_, WidgetWillClose());
1543 } 1540 }
1544 1541
1545 void RenderWidget::closeWidgetSoon() { 1542 void RenderWidget::closeWidgetSoon() {
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
2385 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { 2382 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) {
2386 video_hole_frames_.AddObserver(frame); 2383 video_hole_frames_.AddObserver(frame);
2387 } 2384 }
2388 2385
2389 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { 2386 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) {
2390 video_hole_frames_.RemoveObserver(frame); 2387 video_hole_frames_.RemoveObserver(frame);
2391 } 2388 }
2392 #endif // defined(VIDEO_HOLE) 2389 #endif // defined(VIDEO_HOLE)
2393 2390
2394 } // namespace content 2391 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/shell/browser/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698