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

Side by Side Diff: chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
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 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "chrome/browser/bookmarks/bookmark_node_data.h" 9 #include "chrome/browser/bookmarks/bookmark_node_data.h"
11 #include "content/public/browser/web_drag_dest_delegate.h" 10 #include "content/public/browser/web_drag_dest_delegate.h"
12 11
13 class TabContents; 12 class TabContents;
14 13
15 // Chrome needs to intercept content drag events so it can dispatch them to the 14 // Chrome needs to intercept content drag events so it can dispatch them to the
16 // bookmarks and extensions system. 15 // bookmarks and extensions system.
17 class WebDragBookmarkHandlerGtk : public content::WebDragDestDelegate { 16 class WebDragBookmarkHandlerGtk : public content::WebDragDestDelegate {
(...skipping 19 matching lines...) Expand all
37 TabContents* tab_; 36 TabContents* tab_;
38 37
39 // The bookmark data for the current tab. This will be empty if there is not 38 // The bookmark data for the current tab. This will be empty if there is not
40 // a native bookmark drag (or we haven't gotten the data from the source yet). 39 // a native bookmark drag (or we haven't gotten the data from the source yet).
41 BookmarkNodeData bookmark_drag_data_; 40 BookmarkNodeData bookmark_drag_data_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerGtk); 42 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerGtk);
44 }; 43 };
45 44
46 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_ 45 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698