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

Unified Diff: win8/metro_driver/ime/text_store_delegate.h

Issue 1540973003: Switch to standard integer types in win8/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « win8/metro_driver/ime/text_store.cc ('k') | win8/metro_driver/metro_driver_win7.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/ime/text_store_delegate.h
diff --git a/win8/metro_driver/ime/text_store_delegate.h b/win8/metro_driver/ime/text_store_delegate.h
index 153d664f4ead307acb5276bf181f3ef1c9aeb015..4a3f03f1f8737f29208c9934247f6cd262b66b2c 100644
--- a/win8/metro_driver/ime/text_store_delegate.h
+++ b/win8/metro_driver/ime/text_store_delegate.h
@@ -8,8 +8,8 @@
#include <vector>
#include <windows.h>
+#include <stdint.h>
-#include "base/basictypes.h"
#include "base/strings/string16.h"
namespace metro_viewer {
@@ -31,8 +31,8 @@ class TextStoreDelegate {
// that the composition is canceled.
virtual void OnCompositionChanged(
const base::string16& text,
- int32 selection_start,
- int32 selection_end,
+ int32_t selection_start,
+ int32_t selection_end,
const std::vector<metro_viewer::UnderlineInfo>& underlines) = 0;
// Called when |text| is committed.
@@ -47,7 +47,7 @@ class TextStoreDelegate {
// implement this method must return true and fill the character bounds into
// |rect| in screen coordinates.
// Should return false if |index| is invalid.
- virtual bool GetCompositionCharacterBounds(uint32 index, RECT* rect) = 0;
+ virtual bool GetCompositionCharacterBounds(uint32_t index, RECT* rect) = 0;
};
} // namespace metro_driver
« no previous file with comments | « win8/metro_driver/ime/text_store.cc ('k') | win8/metro_driver/metro_driver_win7.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698