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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 10796106: aura: Rename OnWindowVisisbilityChanged() to OnWindowTargetVisibilityChanged(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.h ('k') | ui/aura/demo/demo_main.cc » ('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/browser/web_contents/web_contents_view_aura.h" 5 #include "content/browser/web_contents/web_contents_view_aura.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "content/browser/renderer_host/dip_util.h" 8 #include "content/browser/renderer_host/dip_util.h"
9 #include "content/browser/renderer_host/render_view_host_factory.h" 9 #include "content/browser/renderer_host/render_view_host_factory.h"
10 #include "content/browser/web_contents/interstitial_page_impl.h" 10 #include "content/browser/web_contents/interstitial_page_impl.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 void WebContentsViewAura::OnDeviceScaleFactorChanged( 556 void WebContentsViewAura::OnDeviceScaleFactorChanged(
557 float device_scale_factor) { 557 float device_scale_factor) {
558 } 558 }
559 559
560 void WebContentsViewAura::OnWindowDestroying() { 560 void WebContentsViewAura::OnWindowDestroying() {
561 } 561 }
562 562
563 void WebContentsViewAura::OnWindowDestroyed() { 563 void WebContentsViewAura::OnWindowDestroyed() {
564 } 564 }
565 565
566 void WebContentsViewAura::OnWindowVisibilityChanged(bool visible) { 566 void WebContentsViewAura::OnWindowTargetVisibilityChanged(bool visible) {
567 if (visible) 567 if (visible)
568 web_contents_->WasShown(); 568 web_contents_->WasShown();
569 else 569 else
570 web_contents_->WasHidden(); 570 web_contents_->WasHidden();
571 } 571 }
572 572
573 bool WebContentsViewAura::HasHitTestMask() const { 573 bool WebContentsViewAura::HasHitTestMask() const {
574 return false; 574 return false;
575 } 575 }
576 576
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 OnDragEntered(event); 633 OnDragEntered(event);
634 634
635 web_contents_->GetRenderViewHost()->DragTargetDrop( 635 web_contents_->GetRenderViewHost()->DragTargetDrop(
636 event.location(), 636 event.location(),
637 gfx::Screen::GetCursorScreenPoint(), 637 gfx::Screen::GetCursorScreenPoint(),
638 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); 638 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags()));
639 if (drag_dest_delegate_) 639 if (drag_dest_delegate_)
640 drag_dest_delegate_->OnDrop(); 640 drag_dest_delegate_->OnDrop();
641 return current_drag_op_; 641 return current_drag_op_;
642 } 642 }
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.h ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698