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

Unified Diff: cc/resources/ui_resource_request.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/ui_resource_client.h ('k') | cc/resources/ui_resource_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/ui_resource_request.h
diff --git a/cc/resources/ui_resource_request.h b/cc/resources/ui_resource_request.h
deleted file mode 100644
index b89e567ce4541bee1b297f984c773e4dd3fe51eb..0000000000000000000000000000000000000000
--- a/cc/resources/ui_resource_request.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2013 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 CC_RESOURCES_UI_RESOURCE_REQUEST_H_
-#define CC_RESOURCES_UI_RESOURCE_REQUEST_H_
-
-#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/resources/ui_resource_bitmap.h"
-#include "cc/resources/ui_resource_client.h"
-
-namespace cc {
-
-class CC_EXPORT UIResourceRequest {
- public:
- enum UIResourceRequestType {
- UI_RESOURCE_CREATE,
- UI_RESOURCE_DELETE,
- UI_RESOURCE_INVALID_REQUEST
- };
-
- UIResourceRequest(UIResourceRequestType type, UIResourceId id);
- UIResourceRequest(UIResourceRequestType type,
- UIResourceId id,
- const UIResourceBitmap& bitmap);
- UIResourceRequest(const UIResourceRequest& request);
-
- ~UIResourceRequest();
-
- UIResourceRequestType GetType() const { return type_; }
- UIResourceId GetId() const { return id_; }
- UIResourceBitmap GetBitmap() const {
- DCHECK(bitmap_);
- return *bitmap_.get();
- }
-
- UIResourceRequest& operator=(const UIResourceRequest& request);
-
- private:
- UIResourceRequestType type_;
- UIResourceId id_;
- scoped_ptr<UIResourceBitmap> bitmap_;
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_UI_RESOURCE_REQUEST_H_
« no previous file with comments | « cc/resources/ui_resource_client.h ('k') | cc/resources/ui_resource_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698