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

Side by Side Diff: chrome/browser/ui/cocoa/tab_contents/web_drag_bookmark_handler_mac.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 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 // 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 "chrome/browser/ui/cocoa/tab_contents/web_drag_bookmark_handler_mac.h" 5 #include "chrome/browser/ui/cocoa/tab_contents/web_drag_bookmark_handler_mac.h"
6 6
7 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
7 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_finder.h" 9 #include "chrome/browser/ui/browser_finder.h"
9 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 12
13 using content::WebContents; 13 using content::WebContents;
14 14
15 WebDragBookmarkHandlerMac::WebDragBookmarkHandlerMac() 15 WebDragBookmarkHandlerMac::WebDragBookmarkHandlerMac()
16 : bookmark_tab_helper_(NULL), 16 : bookmark_tab_helper_(NULL),
17 web_contents_(NULL) { 17 web_contents_(NULL) {
18 } 18 }
19 19
20 WebDragBookmarkHandlerMac::~WebDragBookmarkHandlerMac() {} 20 WebDragBookmarkHandlerMac::~WebDragBookmarkHandlerMac() {}
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 browser->window()->Show(); 56 browser->window()->Show();
57 } 57 }
58 } 58 }
59 59
60 void WebDragBookmarkHandlerMac::OnDragLeave() { 60 void WebDragBookmarkHandlerMac::OnDragLeave() {
61 if (bookmark_tab_helper_ && bookmark_tab_helper_->bookmark_drag_delegate()) { 61 if (bookmark_tab_helper_ && bookmark_tab_helper_->bookmark_drag_delegate()) {
62 bookmark_tab_helper_->bookmark_drag_delegate()->OnDragLeave( 62 bookmark_tab_helper_->bookmark_drag_delegate()->OnDragLeave(
63 bookmark_drag_data_); 63 bookmark_drag_data_);
64 } 64 }
65 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698