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

Side by Side Diff: content/public/browser/render_widget_host.h

Issue 10696166: Remove #pragma once from content (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 CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
7 #pragma once
8 7
9 #include "base/callback.h" 8 #include "base/callback.h"
10 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
11 #include "content/public/browser/keyboard_listener.h" 10 #include "content/public/browser/keyboard_listener.h"
12 #include "content/public/browser/native_web_keyboard_event.h" 11 #include "content/public/browser/native_web_keyboard_event.h"
13 #include "ipc/ipc_channel.h" 12 #include "ipc/ipc_channel.h"
14 #include "ipc/ipc_sender.h" 13 #include "ipc/ipc_sender.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
17 #include "ui/gfx/size.h" 16 #include "ui/gfx/size.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // within content/. This method is necessary because 279 // within content/. This method is necessary because
281 // RenderWidgetHost is the root of a diamond inheritance pattern, so 280 // RenderWidgetHost is the root of a diamond inheritance pattern, so
282 // subclasses inherit it virtually, which removes our ability to 281 // subclasses inherit it virtually, which removes our ability to
283 // static_cast to the subclass. 282 // static_cast to the subclass.
284 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0; 283 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
285 }; 284 };
286 285
287 } // namespace content 286 } // namespace content
288 287
289 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 288 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host_observer.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698