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

Side by Side Diff: webkit/glue/webframe.h

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBFRAME_H_ 5 #ifndef WEBKIT_GLUE_WEBFRAME_H_
6 #define WEBKIT_GLUE_WEBFRAME_H_ 6 #define WEBKIT_GLUE_WEBFRAME_H_
7 7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
12 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
13 #include "base/gfx/size.h"
14 #include "skia/ext/bitmap_platform_device.h" 10 #include "skia/ext/bitmap_platform_device.h"
15 #include "skia/ext/platform_canvas.h" 11 #include "skia/ext/platform_canvas.h"
16 #include "webkit/glue/console_message_level.h" 12 #include "webkit/glue/console_message_level.h"
17 #include "webkit/glue/find_in_page_request.h" 13 #include "webkit/glue/find_in_page_request.h"
18 14
19 class GURL; 15 class GURL;
20 class PlatformContextSkia; 16 class PlatformContextSkia;
21 class WebDataSource; 17 class WebDataSource;
22 class WebError; 18 class WebError;
23 class WebRequest; 19 class WebRequest;
24 class WebView; 20 class WebView;
25 class WebTextInput; 21 class WebTextInput;
26 struct NPObject; 22 struct NPObject;
27 23
28 namespace gfx { 24 namespace gfx {
29 class Rect; 25 class Rect;
30 class Size; 26 class Size;
31 } 27 }
32 28
33 // TODO(darin): use GURL everywhere a URL string appears
34
35 // Every frame in a web page is represented by one WebFrame, including the 29 // Every frame in a web page is represented by one WebFrame, including the
36 // outermost frame. 30 // outermost frame.
37 class WebFrame { 31 class WebFrame {
38 public: 32 public:
39 WebFrame() {} 33 WebFrame() {}
40 34
41 // Binds a C++ class to a JavaScript property of the window object. This 35 // Binds a C++ class to a JavaScript property of the window object. This
42 // should generally be used via CppBoundClass::BindToJavascript() instead of 36 // should generally be used via CppBoundClass::BindToJavascript() instead of
43 // calling it directly. 37 // calling it directly.
44 virtual void BindToWindowObject(const std::wstring& name, 38 virtual void BindToWindowObject(const std::wstring& name,
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 virtual int PendingFrameUnloadEventCount() const = 0; 365 virtual int PendingFrameUnloadEventCount() const = 0;
372 366
373 protected: 367 protected:
374 virtual ~WebFrame() {} 368 virtual ~WebFrame() {}
375 369
376 private: 370 private:
377 DISALLOW_COPY_AND_ASSIGN(WebFrame); 371 DISALLOW_COPY_AND_ASSIGN(WebFrame);
378 }; 372 };
379 373
380 #endif // WEBKIT_GLUE_WEBFRAME_H_ 374 #endif // WEBKIT_GLUE_WEBFRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698