0

Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/8538001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109961 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
thestig@chromium.org
2011-11-14 22:27:18 +00:00
parent 6634b7db87
commit 686439cad7
12 changed files with 14 additions and 33 deletions

@ -6,6 +6,7 @@
#define PRINTING_EMF_WIN_H_
#include <windows.h>
#include <vector>
#include "base/basictypes.h"
@ -15,7 +16,6 @@
class FilePath;
namespace gfx {
class Point;
class Rect;
class Size;
}

@ -21,7 +21,6 @@
class FilePath;
namespace gfx {
class Point;
class Rect;
class Size;
}

@ -19,7 +19,6 @@ class FilePath;
namespace gfx {
class Rect;
class Size;
class Point;
}
namespace printing {

@ -17,10 +17,6 @@
class FilePath;
class MessageLoop;
namespace gfx {
class Font;
}
namespace printing {
class Metafile;

@ -9,8 +9,6 @@
namespace printing {
class PrintedDocument;
// Source of printed pages.
class PrintedPagesSource {
public:

@ -15,8 +15,6 @@ class DictionaryValue;
namespace printing {
class Metafile;
class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext {
public:
explicit PrintingContextNoSystemDialog(const std::string& app_locale);
@ -47,4 +45,3 @@ class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext {
} // namespace printing
#endif // PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_

@ -1,4 +1,4 @@
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@ -6,12 +6,11 @@
#define SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__
#include <string>
#include "base/basictypes.h"
namespace sandbox {
class BrokerServices;
class SandboxFactory;
class TargetProcess;
enum ResultCode;
}
@ -57,6 +56,7 @@ class MainUIWindow {
wchar_t* command_line,
int show_command,
sandbox::BrokerServices* broker);
private:
// The default value DLL name to add to the edit box.
static const wchar_t kDefaultDll_[];

@ -1,4 +1,4 @@
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@ -30,7 +30,6 @@ namespace sandbox {
class BrokerServices;
class ProcessState;
class TargetProcess;
class TargetPolicy;
class TargetServices;

@ -1,4 +1,4 @@
// Copyright (c) 2006-2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@ -6,6 +6,7 @@
#define SANDBOX_SRC_SANDBOX_POLICY_BASE_H_
#include <windows.h>
#include <list>
#include <vector>
@ -21,9 +22,8 @@
namespace sandbox {
class TargetProcess;
class PolicyRule;
class LowLevelPolicy;
class TargetProcess;
struct PolicyGlobal;
// We act as a policy dispatcher, implementing the handler for the "ping" IPC,

@ -1,11 +1,11 @@
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SANDBOX_SRC_TARGET_PROCESS_H__
#define SANDBOX_SRC_TARGET_PROCESS_H__
#include <Windows.h>
#include <windows.h>
#include "base/basictypes.h"
#include "sandbox/src/crosscall_server.h"
@ -13,9 +13,7 @@
namespace sandbox {
class BrokerServicesBase;
class SharedMemIPCServer;
class BrokerDispatcherBase;
class ThreadProvider;
// TargetProcess models a target instance (child process). Objects of this

@ -13,17 +13,15 @@
#include <vector>
#endif
#include "third_party/skia/include/core/SkPreConfig.h"
#include "third_party/skia/include/core/SkDevice.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkDevice.h"
#include "third_party/skia/include/core/SkPreConfig.h"
class SkMatrix;
class SkMetaData;
class SkPath;
class SkRegion;
struct SkIRect;
#if defined(OS_LINUX) || defined(OS_OPENBSD) || defined(OS_FREEBSD) \
|| defined(OS_SUN)
typedef struct _cairo cairo_t;
@ -73,7 +71,7 @@ SK_API PlatformDevice* GetPlatformDevice(SkDevice* device);
#if defined(OS_WIN)
// Initializes the default settings and colors in a device context.
SK_API void InitializeDC(HDC context);
#elif defined (OS_MACOSX)
#elif defined(OS_MACOSX)
// Returns the CGContext that backing the SkDevice. Forwards to the bound
// PlatformDevice. Returns NULL if no PlatformDevice is bound.
SK_API CGContextRef GetBitmapContext(SkDevice* device);
@ -179,4 +177,4 @@ class SK_API PlatformDevice {
} // namespace skia
#endif
#endif // SKIA_EXT_PLATFORM_DEVICE_H_

@ -13,10 +13,7 @@
#include "third_party/skia/include/core/SkTScopedPtr.h"
#include "third_party/skia/include/pdf/SkPDFDevice.h"
class SkClipStack;
class SkMatrix;
struct SkIRect;
struct SkRect;
namespace skia {